一、作用
用于读取标准输入的数据,将其内容转交到标准输出设备中,同时保存成文件
二、选项
- -a 追加写入操作
三、实例
```shell [root@localhost ~]# tee -a 1.txt a.txt 12 12 21312 21312 ewq ewq ^C [root@localhost ~]# cat a.txt 12312 123123 42 12 21312 ewq [root@localhost ~]# cat 1.txt 12312 123123 42 12 21312 ewq[root@localhost ~]# tee 1.txt a.txt12312123121231231231234242^C[root@localhost ~]# cat 1.txt1231212312342[root@localhost ~]# cat a.txt1231212312342
```
