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 chgrp command do?

582


What is grep command in unix with examples?

604


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)?

949


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

612


Explain ‘library functions’ with respect to unix commands?

596






What is the significance of the 'tee' command?

591


What do chmod, chown, chgrp commands do?

624


What is the difference between cat command and more command?

595


What does the metacharacter mean?

604


What do chmod command do?

599


what is the advaantage of each user having its own copy of the shell?

2024


How do I use nslookup?

568


Which command is used to copy files?

547


Who invented grep?

643


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

582