0:标准输入重定向
1:标准输出错误
2:标准错误输出ps
使用例子: $ps -l > hello.txt 2>&1
解释: 标准输出1重定向到hello.txt, 标准错误输出2重定向到标准输出1,必需要这个前后顺序