Changes

Jump to: navigation, search

Tutorial5: Redirection

135 bytes added, 08:34, 25 January 2020
INVESTIGATION 2: REDIRECTION USING PIPES
# Issue the follow Linux command: <span style="color:blue;font-weight:bold;font-family:courier;">ls /bin | more</span><br><br>What happened?<br><br>
# Issue the following Linux command: <span style="color:blue;font-weight:bold;font-family:courier;">ls /bin | who</span><br><br>What happened? Why is the result different than antipated?[[Image:pipe-diagram-1.png|thumb|right|350px|]]<br><br>'''NOTE:''' When issuing pipeline commands, commands to the right of the pipe symbol must be designed to accept stdin. Since the who command does not, an error message was displayed.<br><br>
# Issue the following command: <span style="color:blue;font-weight:bold;font-family:courier;">cp /bin/?? > listing.txt</span><br><br>
# x
 
In the next investigation, you will ...
13,420
edits

Navigation menu