Fork me on GitHub

【问题】Difference between ">/dev/null 2>&1" and "2>&1 >/dev/null"

https://www.unix.com/shell-programming-and-scripting/125947-difference-between-dev-null-2-1-2-1-dev-null.html

https://superuser.com/questions/1179844/what-does-dev-null-21-true-mean-in-linux

https://stackoverflow.com/questions/23489934/echo-2-some-text-what-does-it-mean-in-shell-scripting

posted @ 2018-06-09 17:00  克拉默与矩阵  阅读(122)  评论(0编辑  收藏  举报