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 grep and how do you use it?
What is command statement?
Describe the usage and functionality of the command rm –r * in unix?
Which command is used to delete all files in the current directory and all its sub-directories?
What is the command to view process running?
What are the unix commands?
How do I delete files from command prompt?
What does the “echo” command do?
Why is shebang used?
How do you grep a case insensitive?
What does #!/ Bin sh do?
What are grep patterns?
What do chgrp command do?
What is the comma to show the space allocation of files?
Which command is used to create a directory?