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 UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 05-27-2008
mmunir mmunir is offline
Registered User
 

Join Date: Apr 2008
Posts: 12
Purpose of 2>&1 in the command

Can any body kindly tell me what is the purpose of 2>&1 in the following commands.

nohup ./append_import.sh 1 > import1.out 2>&1 < /dev/null &
nohup ./append_import.sh 2 > import2.out 2>&1 < /dev/null &
Reply With Quote
Remove advertisements
!!
Forum Sponsor