Changes

Jump to: navigation, search

Tutorial5: Redirection

4 bytes added, 07:22, 24 January 2020
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
''Examples:''<br>
<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>
13,420
edits

Navigation menu