Jump to: navigation, search

Tutorial5: Redirection

4 bytes added, 24 January
Piping (Using Pipes)
Commands to the right of the pipe symbol are referred to as '''filters'''. They are referred to as ''filters'' since those commands are used to modify the stdin that was sent from the previous command. Many commands can be "piped" together, but these commands (filters) must be chained in a specific order, depending on what you wish to accomplish
<span style="font-family:courier;font-weight:bold">ls -al | more<br>ls | sort -r<br>ls | sort | more<br>ls | grep Linux | head -5<br>head -7 filename | tail -2</span>

Navigation menu