What is the difference between pipe (|) and tee command in unix
Answer Posted / manoj
Pipe command.
syntax :$command1|command2
Command1 output will be the input for command2
Eg:command1:echo$s
command2:wc
echo$s|wc
s=manoj is input of command1
Output for command2 is manoj
input of command 2 is manoj
output of pipe command is 5
Output:5
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is awk good for?
What do know about tee command?
what is the advaantage of each user having its own copy of the shell?
What does awk stand for?
What does the md command do?
What do chmod, chown, chgrp commands do?
What is the use of cut command in unix?
What is in grep command?
What do know about tee command and its usage?
Which command will print your home directory on screen?
Which command is used to copy files?
How do you repeat a command in terminal?
Write a command to display a file’s contents in various formats?
What is the command to compare two files in unix?
What is the use of sed command in unix?