Changes

Jump to: navigation, search

Tutorial5: Redirection

92 bytes removed, 12:17, 25 January 2020
Redirection (Standard Input, Standard Output, Standard Error)
'''Standard input''' ('''stdin''') is a term which describes from where a command receives input.<br>
This would apply only to Unix/Linux commands that accept stdin input (like ''cat'', ''more'', ''less'', ''sort'', ''grep'', ''head'', ''tail'', etc.).<br>
With the examples below, standard input is being sent into the command from the text file.
''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