What is the use of pipes?

Answers were Sorted based on User's Feedback



What is the use of pipes?..

Answer / shilpa

Output of one command can be used as input for other
command. Hence execution time will be reduced

Is This Answer Correct ?    15 Yes 0 No

What is the use of pipes?..

Answer / abinash

its is used to sned the output of one unix command as
inpiut to another unix command.
e.g.
ps -aef | grep <process name>

Is This Answer Correct ?    4 Yes 1 No

What is the use of pipes?..

Answer / bhaskar

Pipe command is used for combing 2 values
for eaxmple

who|sort

Is This Answer Correct ?    2 Yes 0 No

What is the use of pipes?..

Answer / abani_mahana

Pipe command is used sending one command's output to other command input
ex:- ls -l | wc -l
here ls -l will show details of files available and wc -l will show how many rows(total no of rows) the previous command diaplayed

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Unix Commands Interview Questions

What command will bring user back to their home directory in UNIX?

13 Answers   IBM, Wipro,


Is command prompt unix?

0 Answers  


What is the use of awk command in unix?

0 Answers  


Write a grep (or grep) command that selects the lines from a file that have exactly three characters.

24 Answers   Mac, Nokia,


What are awk commands?

0 Answers  






fork in unix ?

4 Answers   BFL,


how to make IGNITE-BACKUP in HP-UX?

4 Answers   HP,


what is the difference between Touch & cat command

21 Answers   QA,


How can you see the command line history?

0 Answers  


How do I use grep to search for a file?

0 Answers  


How do I open a port?

0 Answers  


Will rm -r* removes hidden files?

10 Answers  


Categories