linux tee命令
来源:互联网 发布:大数据要什么学历 编辑:程序博客网 时间:2024/06/08 00:29
linux tee 命令详解
功能说明:读取标准输入的数据,并将其内容输出成文件。
语 法:tee [-ai][--help][--version][文件...]
补充说明:tee指令会从标准输入设备读取数据,将其内容输出到标准输出设备,同时保存成文件。
参 数:
-a或--append 附加到既有文件的后面,而非覆盖它.
-i-i或--ignore-interrupts 忽略中断信号。
--help 在线帮助。
--version 显示版本信息。
功能说明:读取标准输入的数据,并将其内容输出成文件。
语 法:tee [-ai][--help][--version][文件...]
补充说明:tee指令会从标准输入设备读取数据,将其内容输出到标准输出设备,同时保存成文件。
参 数:
-a或--append 附加到既有文件的后面,而非覆盖它.
-i-i或--ignore-interrupts 忽略中断信号。
--help 在线帮助。
--version 显示版本信息。
[root@localhost ~]# who | tee who.out
root pts/0 2009-02-17 07:47 (123.123.123.123)
[root@localhost ~]# cat who.out
root pts/0 2009-02-17 07:47 (123.123.123.123)
[root@localhost ~]# pwd | tee -a who.out
/root
[root@localhost ~]# cat who.out
root pts/0 2009-02-17 07:47 (123.123.123.123)
/root
[root@localhost ~]#
root pts/0 2009-02-17 07:47 (123.123.123.123)
[root@localhost ~]# cat who.out
root pts/0 2009-02-17 07:47 (123.123.123.123)
[root@localhost ~]# pwd | tee -a who.out
/root
[root@localhost ~]# cat who.out
root pts/0 2009-02-17 07:47 (123.123.123.123)
/root
[root@localhost ~]#
0 0
- 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
- linux tee 命令详解
- linux 命令之 tee
- linux tee 命令详解
- linux tee 命令详解
- linux 命令之tee
- Linux的tee命令
- 2014 Apple WWDC
- 百度下拉框对我们seoer的启示不容忽视
- Anti-Screen Capture(Prevent Screen Captures)截屏与反截屏
- 大数的加减运算
- hdu 1711 Number Sequence
- linux tee命令
- usb协议深入理解
- poj_1459 Power Network(多源多匯最大流)
- Linux 服务器 文件同步
- HDU 3435A new Graph Game(网络流之最小费用流)
- Cocos2d-x v3.x官方文档]文本标签(Label) 分享0
- 对于linux下system()函数的深度理解(整理)
- 分支结构求分段函数值2
- UI控件使用案例<一>