重定向到标准输出和文件:下面命令可以显示在屏幕的同时,也输出到 test2.txt 文件中去

        cat ./test.txt | tee ./test2.txt

posted on 2017-08-11 09:34  界F桂欢  阅读(98)  评论(0)    收藏  举报