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

How do I search for a file in unix command?

730


Explain ‘library functions’ with respect to unix commands?

806


What is merge command in unix?

1130


What is the function of grep command in unix?

777


How do you grep recursively?

761






What are the unix commands?

742


Why is shebang used?

797


Name the unix command to find how many days the server has been up.

850


What is the search command in unix?

807


How do I open a port?

764


What do chown command do?

774


How to use grep command to list find the records of a file containing 10 different strings?

829


What is unix command?

857


What is the comma to show the space allocation of files?

745


Explain command to display different lines that are found when compare two files?

873