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 / ruth suganya sebastian

pipe is used to execute two or more commands
eg:select ename||'works as '||job from emp;

tee is used to create an empty file,stores the output and
then displays the contents on the screen
eg: grep "^d" filename||tee file

Is This Answer Correct ?    49 Yes 22 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of tee command?

1155


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

1152


Differentiate cat command from more command.

1144


What command will change your prompt to myprompt?

1323


Are you in or at the office?

1123


Is ‘du’ a command? If so, what is its use?

1145


What is the command to compare two files in unix?

1117


What is a bash command?

1173


Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?

1218


What is grep command in unix with examples?

1212


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

2249


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

1169


What is the command to view process running?

1104


What is time_t?

1108


why metadb requires a seperate slice to create Solaris volume manager

3156