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 grep and how do you use it?

1066


What is command statement?

1112


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

1989


Which command is used to delete all files in the current directory and all its sub-directories?

1217


What is the command to view process running?

1077


What are the unix commands?

1037


How do I delete files from command prompt?

1165


What does the “echo” command do?

1105


Why is shebang used?

1062


How do you grep a case insensitive?

1004


What does #!/ Bin sh do?

1032


What are grep patterns?

1032


What do chgrp command do?

1154


What is the comma to show the space allocation of files?

1024


Which command is used to create a directory?

1103