Changes

Jump to: navigation, search

Tutorial5: Redirection

222 bytes added, 16:24, 23 January 2020
Redirection (Standard Input, Standard Output, Standard Error)
<span style="font-family:courier;font-weight:bold">ls -l<br>ls -l > detailed-listing.txt<br>ls /bin >> output.txt</span>
'''Standard Error''' ('''stderr''') describes where a command sends it's error messages.<br>In the examples below, error messages from a command are sent toa file or are redirected to a file that acts as a "garbage can". ''Examples:'' <span style="font-family:courier;font-weight:bold">PWD<br>PWD 2> error-message.txt<br>PWD 2 >> error-messages.txt<br>PWD 2> /dev/null</span>
===Additional File Manipulation Commands===
13,420
edits

Navigation menu