Linux tee Command

In this tutorial we learn how to use tee commmand in Linux. tee command is tee - read from standard input and write to standard output and files

What is Linux tee Command?

In this tutorial we learn how to use tee command in Linux. tee command is tee - read from standard input and write to standard output and files

tee Syntax

       tee [OPTION]... [FILE]...

tee Examples

tee Command Manual / Help

We can use man and info command to see the manual page of tee command.

tee command also have --help option to show list of options.

To open man page for tee command we can use command below. To exit man or info page you can press q.

man tee

To open info page for tee command we can use command below.

info tee

To open help page from tee command we can run command below.

tee --help

Linux tee Command Source Code

You can find tee command source code from the folowing repositories:

You can read tutorials of related Linux commands below:

Summary

In this tutorial we learn how to use tee in Linux with practical examples. Visit our Linux Commands guide to learn more about using command line interface in Linux.