August 2019
Beginner to intermediate
798 pages
17h 2m
English
According to the UNIX philosophy, UNIX command-line utilities should do one job and perform that job well. In practice, this means that instead of developing huge utilities that do lots of jobs, you should develop multiple smaller programs, which, when combined, should perform the desired job. The most common way for two or more UNIX command-line utilities to communicate is by using pipes. In a UNIX pipe, the output of a command-line utility becomes the input of another command-line utility. This process may involve more than two programs. The symbol that is used for UNIX pipes is the | character.
Pipes have two serious limitations: firstly, they usually communicate in one direction, and secondly, they can only ...
Read now
Unlock full access