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 difference between cmp and diff commands?
What does this command do? Cat food 1 > kitty
How do I use grep to search for a file?
What does the md command do?
What does touch command do in unix?
Why is it called a shebang?
Write a command that will display files in the current directory, in a colored, long format.
How do I search a whole word in vim?
What is the comma to display different lines that are found when compare two files?
What is ‘ps’ command for?
What is grep in bash?
What is command statement?
What is the behavioural difference between cmp and diff commands?
How do you repeat a command in terminal?
Which unix command to make a new directory?