Javatpoint Logo
Javatpoint Logo

Linux tee

The 'tee' command is similar to 'cat' command with only one difference. It puts stdin on stdout and also put them into a file.

Syntax:

Example:

Linux tee Filters

Look at the above screenshot, file 'new.txt' is created with the help of'tee'command.

Next TopicLinux tr




Please Share

facebook twitter google plus pinterest

B.Tech / MCA


Learn Latest Tutorials