What is the significance of the “tee” command?

It reads the standard input and sends it to the standard output while redirecting a copy of what it has read to the file specified by the user.

Showing Answers 1 - 1 of 1 Answers

Navneet Kumar

  • Mar 16th, 2006
 

 tee - replicate the standard output

 Syntax:-tee  [ -ai ]  [ file ... ]

 -a        Append  the  output  to  the  files  rather   than
           overwriting them.

 -i        Ignore interrupts.

The tee  utility will copy standard input to  standard  out-
put,  making  a  copy  in  zero or more files. tee  will not
buffer its output. The options determine  if  the  specified
files are overwritten or appended to.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions