What is the difference between pipe (|) and tee command in unix

Answer Posted / sourisengupta

pipe: pipe is used to redirect the output to theinput of an
another command.

tee: tee is used to prodiuced two output and you can
redirect it anywhere you want;.

Is This Answer Correct ?    11 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do know about tee command?

607


Explain the steps that a shell follows while processing a command.

683


how to sort the content of the file based on numeric values

1256


What is “chmod” command?

568


How do I search a whole word in vim?

693






What does the “echo” command do?

626


Describe the zip/unzip command using gzip.

615


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

562


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

678


What is .sh file?

624


What is rmdir command?

555


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

593


What does sed command do in unix?

568


What is the use of finger command?

603


Which command is used to kill the last background job?

784