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 comma to display different lines that are found when compare two files?
What does the metacharacter mean?
why metadb requires a seperate slice to create Solaris volume manager
How do I use nslookup?
Explain how to use grep command to list find the records of a file containing 10 different strings?
What is the use of the command 'ls -x chapter[1-5]' ?
How do you grep recursively?
What are bash commands?
How can we use grep command in unix?
How do you repeat a command in terminal?
What is awk command used for?
How can you see the command line history?
How is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?
Explain command to display different lines that are found when compare two files?
What is grep short for?