What does a pipe(|) do?



What does a pipe(|) do?..

Answer / Javed Ameen

The pipe symbol (|) in Unix allows the output of one command to be passed as input to another command. When multiple commands are piped together, the standard output of the first command becomes the standard input of the next command. This can be useful for chaining commands and performing complex operations without temporary files.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Unix General Interview Questions

Why do we need unix shell scripting?

1 Answers  


What is unix and why is it important?

1 Answers  


Name the data structure used to maintain file identification?

1 Answers  


What uses unix?

1 Answers  


What is path variable in unix?

1 Answers  


How would you display the last line of a file?

1 Answers  


What is the use of -l when listing a directory?

1 Answers  


What is the root directory in unix?

1 Answers  


command to show the space allocation of files?

3 Answers   HP,


Why was unix created?

1 Answers  


What are positional parameters in unix?

1 Answers  


What are the common directory management commands in unix?

1 Answers  


Categories