what does the 'tee' command do?

Answers were Sorted based on User's Feedback



what does the 'tee' command do?..

Answer / linuxdemon

This command is used to read input from stdin and write to
both the file and stdout.

eg: tee -a oldfilename
type the contents
ctrl+D

Is This Answer Correct ?    7 Yes 0 No

what does the 'tee' command do?..

Answer / narendra simha talluri

it will save intermediate output in a file.
it copies its input to the named file(s), as well as to its output.
it is handy for manipulating pipes.

Is This Answer Correct ?    1 Yes 0 No

what does the 'tee' command do?..

Answer / subbareddy kake

by using tee command we can create files.

Is This Answer Correct ?    1 Yes 4 No

what does the 'tee' command do?..

Answer / sowmya

tee command is used for redirecting the output to stdout

Is This Answer Correct ?    0 Yes 4 No

Post New Answer

More Unix Commands Interview Questions

What is the difference between udp and tcp?

2 Answers   HCL, TCS,


What is mtime in find command?

1 Answers  


What are file permissions in Unix, and how are they represented?

2 Answers  


what is the difference between relative path and absolute path?

7 Answers  


How to replace the exact word in vi editor?? suppose a file contains words like amaze,amazed,amazement in some of the line.But i want to replace only 'amaze' with delight but don't wanna replace amazed or amazement. thanks

6 Answers   Polaris, Tech Mahindra,






What is the use of find command in unix?

0 Answers  


in unix echo is used for

10 Answers   BFL, BirlaSoft, Patni,


Write a command that will display files in the current directory, in a colored, long format.

0 Answers  


in UNIX,what is the command to remove directory with files?

10 Answers  


What do chown command do?

0 Answers  


What is in grep command?

0 Answers  


How to view the hidden files in /etc directory?

10 Answers  


Categories