Changes

Jump to: navigation, search

Tutorial5: Redirection

222 bytes added, 07:31, 13 August 2020
Redirection (Standard Input, Standard Output, Standard Error)
<span style="font-family:courier;font-weight:bold;">LS 2> /dev/null<br>ls > /dev/null<br>find / -name "tempfile" 2> /dev/null</span>
<br><br>
 
In Linux, the '''Here Document''' allows a user to redirect stdin from within the command itself.
''Example:''�
 
<span style="font-family:courier;font-weight:bold">cat <<+<br>Line 1<br>Line 2<br>Line 3<br>+<br><br>
===Additional File Manipulation Commands===
13,420
edits

Navigation menu