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

How can we use grep command in unix?

1216


hw will u use awk in replacing cahrs and files

3248


What are filter commands in unix?

1204


What does grep v grep do?

1079


What is grep command in unix with examples?

1223


What does the command '$ls | wc –l > file1' do?

1234


What does #!/ Bin sh do?

1068


What is awk used for?

1133


Explain command to display different lines that are found when compare two files?

1182


What is the use of cut command in unix?

1377


Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?

1409


What is the function of grep command in unix?

1186


Describe the usage and functionality of the command rm –r * in unix?

2105


What is time_t?

1118


What is the command to find maximum memory taking process on the server?

1217