stdout 2 stderr and stderr 2 stdout
Red Hat Linux 6.8
Hi,
what s the difference between rm -test.sh 2>grep-error.txt
and rm -test.sh 1>&2
error output from rm -test.sh 2>grep-error.txt will be saved in grep-error.txt
what will the second command do?
what will rm test.sh 2>&1 do?
Rgds,
Joe