Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is the functionality of a top command?

1050


What is the first character of the output in ls l command?

1155


What does the “echo” command do?

1093


What is {} in find command?

1048


What does awk stand for?

1031


Write a command to kill the last background job?

1020


What is the use of the command 'ls -x chapter[1-5]' ?

1151


Explain the steps that a shell follows while processing a command.

1161


What is grep r?

1040


How do I run a bash script?

1106


How do you grep recursively?

1054


Name the general commands in using unix os for a beginner?

1088


What is the use of the tee command?

1049


Who wrote grep?

1011


What is the general format of unix command syntax?

1789