您的位置:首页 > 其它

tee可以看见输出并将其写入到一个文件中

2015-03-24 22:58 89 查看
可以看见输出并将其写入到一个文件中 如下使用tee命令在屏幕上看见输出并同样写入到日志文件my.log中 ls | tee my.log[/i][/i] tee可以保证你同时在屏幕上看到ls的输出并写入文件  my.log。 tee 的解释为:read from standard input and write to standard output and files[/i]
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐