Linux I/O Redirection
[root@server /root]# cmd 2>&1 1>&1
Writes a file “stdout” with the stdout and “stderr” with the stderr output.
Lots more helpful commands on the page.
Linux I/O Redirection
[root@server /root]# cmd 2>&1 1>&1
Writes a file “stdout” with the stdout and “stderr” with the stderr output.
Lots more helpful commands on the page.