Nguyễn Tuấn Dương
New member
What is 2 in bash script?
Answer
File descriptor 1 is stdout and File descriptor 2 is
stderr
. Using > to redirect output is the same as using 1> . This says to redirect stdout (file descriptor 1).
Answer
File descriptor 1 is stdout and File descriptor 2 is
stderr
. Using > to redirect output is the same as using 1> . This says to redirect stdout (file descriptor 1).