The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #7 (permalink)  
Old 10-27-2006
slire slire is offline
Registered User
  
 

Join Date: Oct 2006
Posts: 7
Thanks for the answer, but since I am very unexperienced with UNIX and programing I dont really understand how to proceed with the following commands.

for filename in `cat somefile`
do
ls -lc $filename >> somefile2
done
mv somefile2 somefile

Should I write this in a script? In that case I don't really now how to do it, can u possibly give un example.

Sorry for my low level of understanding....