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 UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 05-15-2008
Smiling Dragon's Avatar
Smiling Dragon Smiling Dragon is offline
Disorganised User
 
Join Date: Nov 2007
Location: New Zealand
Posts: 709
If you redirect stdout to a log file like that in the function ( > Log1 ), you won't see any output from the function (as it's redirected elsewhere). If you want to take the output from your echo and send it to a file but also leave it on STDOUT, use the tee command instead.
Reply With Quote