The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > HP-UX
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 04-01-2008
JohnBalayo JohnBalayo is offline
Registered User
 

Join Date: Apr 2008
Posts: 4
How to make a loop base on reading a file?

Need help on making a loop script base on what is inside a file...

File to read: List.txt
List.txt contains below w/c are file name as well:

SAMPLEa
SAMPLEb
SAMPLEc
SAMPLEd
SAMPLEe
SAMPLEf
.
.
.

Want to make a loop that will manipulate those that are inside the file.txt w/c are also filenames.. For example, chmod those files…

Thanks in advance for the help...
Forum Sponsor