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 / madhusudhan

pipe: pipe is used to redirect the output to the input of an
another command.

to see oracle processes.
ps -ef | grep SIDNAME

Here grep will find the sidname and the output of grep will be used as input to display processes.

tee : using tee we can send the output to
a new file at the same time we can see the output on the
screen

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Differentiate cat command from more command.

1165


Explain mount and unmount command.

1234


Explain command to view process running?

1146


Who invented grep?

1176


How does the system know where one command ends and another begins?

2270


How many unix commands are there?

1164


How to find $ai_serual resolved path by using unix

1767


What is awk good for?

1151


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

1188


hw will u use awk in replacing cahrs and files

3254


Who command in unix operating system?

1146


Can you explain a little bit about command substitution?

1124


How do you grep recursively?

1120


Which command should you use to find the remaining disk space in unix server?

1320


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

1221