摘要: 把所有 标准输出 和 标准错误输出 都输出到文件(屏幕无输出): ls file1 non-file > ./out.log 2>&1 同上: ls file1 non-file 1> ./out.log 2>&1 有时候会看到1>&2,但是第一个就不能简写了: ls file1 non-file 阅读全文
posted @ 2017-08-09 16:02 dongdonggeorge 阅读(165) 评论(0) 推荐(0) 编辑