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 does #!/ Bin sh do?
How do I search for text in vi?
Can you explain a little bit about command substitution?
How can you see the command line history?
Which command is used to create a directory?
What is the search command in unix?
What is command substitution?
How do I delete files from command prompt?
Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?
What is the difference between cat command and more command?
What is the comma to display different lines that are found when compare two files?
How do I search for a file in unix command?
Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?
What is the function of grep command in unix?
What is the size of time_t?