Connecting commands together

Unix allows you to link two or more commands together using a pipe. The pipe takes the standard output from one command and uses it as the standard input to another command.

   command1 | command2 | command3

The | (vertical bar) character is used to represent the pipeline connecting the commands.

With practise you can use pipes to create complex commands by combining several simpler commands together.


[Home] [Search] [Index] This site maintained by bondaren@thsun1.jinr.ru