Linux I/O Redirection
Linux I/O redirection refers to the standard input/output such as stdin, stdout, stderr. This article gives you some examples with basic commands that you can use to accomplish I/O redirection in Linux. Cool commands [root@server /root]# ./cmd 1>out 2>err [root@server /root]# ./cmd 1>>out 2>>err [root@server /root]# (((./cmd | tee stdout) 3>&1 1>&2 2>&3\ |tee stderr) … Read more