linux 命令之tee
来源:互联网 发布:java 启动定时器 编辑:程序博客网 时间:2024/06/03 11:51
tee 读取标准输入的数据,将其内容输出到标准输出设备,同时保存成文件
参数:
-a,--append 附加到既有文件的后面,不覆盖原有内容(文件不存在时,会新建)
-i-i,--ignore--interrupts 忽略中断信号
--help 帮助信息
--version 显示版本信息
例子:
# who | tee who.out
gino tty7 2015-04-16 10:29
gino pts/0 2015-04-16 10:29 (:0)
#cat who.out
gino tty7 2015-04-16 10:29
gino pts/0 2015-04-16 10:29 (:0)
#pwd | tee -a who.out
/mnt/hgfs/Shared files/shell
#cat who.out
gino tty7 2015-04-16 10:29
gino pts/0 2015-04-16 10:29 (:0)
/mnt/hgfs/Shared files/shell
0 0
- linux命令之tee
- linux命令之tee
- linux 命令之 tee
- linux 命令之tee
- linux命令之tee
- 图解Linux命令之--tee命令
- Linux基础学习笔记之tee命令
- linux tee命令
- linux tee命令
- Linux:tee命令
- linux tee 命令详解
- linux tee 命令
- linux tee命令详解
- linux tee 命令详解
- linux tee 命令详解
- linux tee命令
- Linux shell tee 命令
- linux tee 命令详解
- dojo中的dgrid使用时注意事项
- [前端] $.fn.extend() 与 $.extend 示例
- 关于EasyUI对话框,表格和菜单组件在IE下的兼容性处理方法
- unity3d在线更新资源(2)
- 递归与递推的区别
- linux 命令之tee
- 配置NTP服务器以及解决RAC安装过程的报错PRVF-5439 : NTP daemon does not have slewing option "-x"
- 【codechef】Chef and A Large Permutation(技巧题)
- js 删除前confirm确认提示代码
- Java语言高级--NIO入门
- JVM对final的支持
- Hibernate性能优化
- httpclient
- Python多线程thread与threading实现