The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
Purpose of 2>&1 in the command
User Name
Remember Me?
Password
Google UNIX.COM
Forums
Directory
Register
Forum Rules
FAQ
Contribute
Members List
Search
Today's Posts
Mark Forums Read
Thread
:
Purpose of 2>&1 in the command
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
#
1
(
permalink
)
05-27-2008
mmunir
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 &
Remove advertisements
The UNIX and Linux Forums
!!
Forum Sponsor
mmunir
View Public Profile
Find all posts by mmunir