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

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

884


Enumerate some of the most commonly used network commands in unix?

707


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

781


What is the command to find hidden files in the current directory?

692


How do I run a bash script?

671






How do I search for a file in unix command?

635


What is awk used for?

700


Explain command to view process running?

700


Does cp command overwrite files?

706


What is difference between grep and find command in unix?

669


Explain mount and unmount command.

717


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

681


What is the difference between cat command and more command?

677


Can you enlist some commonly used network commands?

682


What does 'mkdir' command do in UNIX?

763