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

Answer Posted / jaydeep das

pipe is used to direct the output of a set of commands to
another set of commands meaning output of one will be fed
as input to the other
tee is used to display the output on the screen

Is This Answer Correct ?    51 Yes 21 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a command that will find all text files in a directory such that it does not contain the word "amazing" in any form (that is, it must include the words amazing, amazing, or amazing)?

947


What difference between cmp and diff commands?

712


What is the use of cut command in unix?

680


Which command is used to copy files?

547


How do I search for text in vi?

574






Explain command to show the space allocation of files?

622


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

553


Why is it called grep?

552


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

580


What does grep v do?

549


Are you in or at the office?

605


Which command is used to find whether the system is 32 bit or 64 bit?

620


How do you repeat a command in terminal?

585


What is a bash command?

618


What is the first character of the output in ls l command?

625