找回密码
 骑士注册

QQ登录

微博登录

搜索
❏ 站外平台:

tag 标签:

细分标签:

相关手册

  • tee - read from standard input and write to standard output and files

    tee [OPTION]... [FILE]...
    Copy standard input to each FILE, and also to standard output.
    
           -a, --append
                  append to the given FILEs, do not overwrite
    
  • tee - duplicating pipe content

    #define _GNU_SOURCE         /* See feature_test_macros(7) */
           #include <fcntl.h>
    
           ssize_t tee(int fd_in, int fd_out, size_t len, unsigned int flags);
    tee()  duplicates  up to len bytes of data from the pipe referred to by
           the file  descriptor  fd_in  to  the  pipe  referred  to  by  the  file
           descriptor  fd_out.   It  does  not consume the data that is duplicated
           from fd_in;  therefore,  that  data  can  be  copied  by  a  subsequent
           splice(2).

相关文章

  • 为初学者介绍的 Linux tee 命令(6 个例子)

    有时候,你会想手动跟踪命令的输出内容,同时又想将输出的内容写入文件,确保之后可以用来参考。如果你想寻找这相关的工具,那么恭喜你,Linux 已经有了一个叫做 tee 的命令可以帮助你。

    2018-03-12 11:25     Himanshu Arora, CYLeft

返回顶部

分享到微信

打开微信,点击顶部的“╋”,
使用“扫一扫”将网页分享至微信。