User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

wiki:pipe [2017/12/05 22:53] (current)
Line 1: Line 1:
 +====== Pipe ======
 +The “|” pipe metacharacter enables you to run a set of chained processes.\\
 +To understand lets do an example creating a temporal file called tmp.txt and counting how many lines there are in the file.  ​
 +<code bash>
 +ls /usr/bin > tmp.txt
 +wc -l tmp.txt
 +The same can be written
 +<code bash>
 +ls /usr/bin | wc -l
 +without creating an intermediate file.
wiki/pipe.txt · Last modified: 2017/12/05 22:53 (external edit)