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

Who wrote grep?

1023


Are you in or at the office?

1091


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

1169


What command is used to switching between users in unix?

1044


Is command prompt unix?

1109


How do I use nslookup?

1063


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

1194


Which unix command to make a new directory?

1089


Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?

1172


How do you repeat a command in terminal?

1178


How to display no of records in oracle using unix command?

1141


What is the size of time_t?

1176


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

1108


Describe the zip/unzip command using gzip.

1127


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

1037