what does the 'tee' command do?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does find command return in unix?

606


What are the differences among a system call, a library function, and a unix command?

577


What are file commands?

663


What does pipe () return?

604


Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?

806






What is the behavioural difference between cmp and diff commands?

690


What are the commands in UNIX to list the files in a Directory?

630


What does the “echo” command do?

636


What does the metacharacter mean?

618


What do know about tee command and its usage?

602


What are the general commands in using unix os for a beginner?

585


What is the use of cut command in unix?

710


What is grep in bash?

593


Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?

603


How do I search for a file in unix command?

557