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

Write a command to display a file’s contents in various formats?

847


What is the command to compare two files in unix?

823


How do you grep recursively?

770


What is command statement?

785


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

1012


Why is it called a shebang?

796


Which unix command to make a new directory?

797


What is the use of cut command in unix?

946


How do I run a bash script?

811


What is the unix command to confirm a remote host is alive or not?

797


Write a command to kill the last background job?

792


Which command is used to copy files?

811


What is the use of the tee command?

806


Using unix command how to display no of records in oracle?

831


What do chgrp command do?

826