Saturday, March 08, 2008

关于>&2、2>&1等重定向的详细解释_Road to OU (Oracle&Unix)

关于>&2、2>&1等重定向的详细解释_Road to OU (Oracle&Unix)

* 2>&1 就是将 stderr 并进 stdout 作输出
* 1>&2 或 >&2 就是将 stdout 并进 stderr 作输出