ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage   interview questions urls   External Links  Contact Us     Login  |  Sign Up                      
tip   SiteMap shows list of All Categories in this site.
Google
 
Categories  >>  Software  >>  Operating Systems  >>  Unix  >>  Unix Commands
 
 


 

 
 Unix Commands interview questions  Unix Commands Interview Questions
 Unix Threads interview questions  Unix Threads Interview Questions
 Unix IPC interview questions  Unix IPC Interview Questions
 Unix Socket Programming interview questions  Unix Socket Programming Interview Questions
 Unix System Calls interview questions  Unix System Calls Interview Questions
 Unix AllOther interview questions  Unix AllOther Interview Questions
Question
What is the difference between pipe (|) and tee command in unix
 Question Submitted By :: Jkonakan
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What is the difference between pipe (|) and tee command in unix
Answer
# 1
pipe is used to direct the output of a set of commands to 
another set of commands meaning output of one will be fed 
as input to the other
tee is used to display the output on the screen
 
Is This Answer Correct ?    3 Yes 0 No
Jaydeep Das
 
  Re: What is the difference between pipe (|) and tee command in unix
Answer
# 2
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 ?    4 Yes 3 No
Ruth Suganya Sebastian
 
 
 
  Re: What is the difference between pipe (|) and tee command in unix
Answer
# 3
seperate arguments
 
Is This Answer Correct ?    1 Yes 2 No
Guest
 
  Re: What is the difference between pipe (|) and tee command in unix
Answer
# 4
'|' --> This will take output and send it as the input for 
next command

tee --> tee will generate two outputs
 
Is This Answer Correct ?    3 Yes 0 No
Manikantan T S
 

 
 
 
Other Unix Commands Interview Questions
 
  Question Asked @ Answers
 
what are processor execution levels and priorities? Infosys2
what are processor execution levels and priorities? Infosys1
what will be the output of ls ~/.. ABC13
What is the use of pipes?  2
what does a process mean? Infosys5
How to setup Disk space as well as memory in solaris10?  4
what are the different commands used to view the contents of a file?  1
How do you copy a directory with many files and folders into another directory?  1
what is the meaning of this command rm -rf / what will it do ? Altair4
How do you list the files in an UNIX directory while also showing hidden files?  2
Explain the read, write, and execute permissions on a UNIX directory.  2
How do you find path of a directory? Give its syntax.  6
how unix kernel distinguishes between a normal file and device file ? IBM4
what do you understand bythe term 'de-mountable volumes'? Infosys1
what is the use of "fg" command ? PSU2
How to convert a hidden file to normal visible file?  2
What Command is used to make a directory? IBM1
Give Command that will change the name of a directly from paypal to eBay IBM1
what is the command to list files in a directory in UNIX?  1
what is the difference between Touch & cat command QA9
 
For more Unix Commands Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com