重定向&>file、2>&1、1>&2的区别

shell上:
0表示标准输入
1表示标准输出
2表示标准错误输出

更新中

猜你喜欢

转载自linwenan.iteye.com/blog/2216034