*tee : 读取标准输入的数据,并将其内容输出成文件。
cat sec.log | tee file1 # 读取sec.log ,并生成file1文件
cat sec.log | tee - a file1 # 读取sec.log ,并追加,
cat sec.log |tee file1 file2
*```
本文转自lb沫51CTO博客,原文链接:http://blog.51cto.com/13562606/2058852,如需转载请自行联系原作者
Ubuntu学习 tee
最新推荐文章于 2025-07-02 08:14:36 发布