Changes

Jump to: navigation, search

Tutorial5: Redirection

96 bytes added, 16:25, 23 January 2020
Redirection (Standard Input, Standard Output, Standard Error)
'''Standard Error''' ('''stderr''') describes where a command sends it's error messages.<br>In the examples below, error messages from a command are sent to a file or are redirected to a file that acts as a "garbage can".
''Examples(remember, Unix/Linux is case sensitive and issuing PWD in caps will generate an error message):''
<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>
13,420
edits

Navigation menu