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
How can we use grep command in unix?
hw will u use awk in replacing cahrs and files
What are filter commands in unix?
What does grep v grep do?
What is grep command in unix with examples?
What does the command '$ls | wc –l > file1' do?
What does #!/ Bin sh do?
What is awk used for?
Explain command to display different lines that are found when compare two files?
What is the use of cut command in unix?
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?
Describe the usage and functionality of the command rm –r * in unix?
What is time_t?
What is the command to find maximum memory taking process on the server?