13,420
edits
Changes
→The tee Command
[[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 <u>split</u> the flow of '''standard output'''<br>between a '''text file''' and the '''terminal screen'''.<br><br>
The '''tee''' option '''-a''' can be used to add content to the '''bottom ''' of an existing file <br>as opposed to ''overwriting '' the file's previous contents.
The reason for the name "'''tee'''" is that the splitting of the flow of information resembles a capital T.