The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 08-29-2008
Danish Shakil Danish Shakil is offline
Registered User
  
 

Join Date: Oct 2007
Posts: 35
Question Remove Garbage Output

Hello Friends,

In a script i m using different temporary file and i remove them in the end.
During script execution i have some garbage output which is not required.


For example: Garbage Output
++ rm temp_out temp_a temp_b temp_c
++ rm Filter1 Filter2

Script : Even i am redirecting rm command to /dev/null
Quote:
rm temp_out temp_a temp_b temp_c > /dev/null
rm Filter1 Filter2 > /dev/null
Thanks for your help

Last edited by Danish Shakil; 08-29-2008 at 06:12 AM..