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 the functionality of a top command?
What is the first character of the output in ls l command?
What does the “echo” command do?
What is {} in find command?
What does awk stand for?
Write a command to kill the last background job?
What is the use of the command 'ls -x chapter[1-5]' ?
Explain the steps that a shell follows while processing a command.
What is grep r?
How do I run a bash script?
How do you grep recursively?
Name the general commands in using unix os for a beginner?
What is the use of the tee command?
Who wrote grep?
What is the general format of unix command syntax?