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 is the command to view process running?

0 Answers  


How we will execute previous command in vi editor?

8 Answers   Infosys,


what is the functionality of kernel in unix architecture?

13 Answers   HCL,


How do I search a whole word in vim?

0 Answers  


29. How to display top 10 users Who | head -10 | wc –w

4 Answers   TCS,






Which unix command to make a new directory?

0 Answers  


What is the use of pipes?

4 Answers  


How does a user get the current date, time in UNIX?

6 Answers   IBM,


what are filters?

6 Answers  


What is grep short for?

0 Answers  


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

0 Answers  


Hi All, Can you please let me know how to grep for a particular pattern in unix. I want to print the dates from the file exp.txt. the date pattern is DD:MM:YYYY, I just want to print all the dates from the file exp.txt.

8 Answers   Concentrix, IBM, Symantec, TCS,


Categories