Changes

Jump to: navigation, search

Tutorial5: Redirection

2 bytes removed, 13:58, 31 August 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 stdout of the <u>previous command</u>. Many commands can be "piped" together, but these commands (filters) must be chained in a specific order, depending on what you wish to accomplish
[[Image:tee-diagram-1.png|thumb|right|250px|The '''tee''' utility can be used to '''split ''' the flow of information. For example to save in a file as well as display on a screen. <br>(Image licensed under [https://creativecommons.org/licenses/by-sa/3.0/ cc])]]
The '''tee''' utility can be used to split the flow of information. The tee option '''-a''' can be used to add content to the bottom of an existing file as opposed to overwriting the file's previous contents.
13,420
edits

Navigation menu