The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Special Forums > UNIX Desktop for Dummies Questions & Answers
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #5 (permalink)  
Old 03-25-2008
shamrock shamrock is offline
Registered User
 

Join Date: Oct 2007
Location: USA
Posts: 482
Code:
for word in $(<file)
do
   echo your_cmd_goes_here $word
done
...remove the echo and put your command in place of "your_cmd_goes_here"
Reply With Quote