Changes

Jump to: navigation, search

Tutorial5: Redirection

23 bytes removed, 12:25, 17 January 2021
INVESTIGATION 2: REDIRECTION USING PIPELINE COMMANDS
# Issue the following Linux '''pipeline command''':<br><span style="color:blue;font-weight:bold;font-family:courier;">ls /bin/???? | tee unsorted.txt | sort -r | tee sorted.txt | tee unmatched.txt | grep r | tail -2</span><br><br>What did you notice?<br><br>
# Check the files that were created to see how the '''tee''' command was used in the previous pipeline command.<br><br>
# Change to your home directory.<br><br># Issue the '''rm''' command to <u>only</u> remove the temporary files called: '''unsorted.txt''' , '''sorted.txt''' , and '''unmatched.txt'''<br><br>
:In the next investigation, you will learn various techniques to issue multiple Linux commands on the same line, or long Linux commands over multiple lines.
13,420
edits

Navigation menu