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 -->
  #5 (permalink)  
Old 01-23-2008
summer_cherry summer_cherry is offline Forum Advisor  
Registered User
  
 

Join Date: Jun 2007
Location: Beijing China
Posts: 1,092
2>/dev/null

Hi,

For the "No such file or directory", it is becuase there are error messages print to the stand output, you can ignore them by adding


Code:
2>/dev/null

at the end of the command,which will stop printing all the error message to stand output which is our screen.