Changes

Jump to: navigation, search

Tutorial5: Redirection

64 bytes removed, 17:09, 24 January 2020
INVESTIGATION 1: BASICS OF REDIRECTION
# Issue the following Linux command: <span style="color:blue;font-weight:bold;font-family:courier;">tr 'a-z' 'A-Z' < data.txt</span><br><br>What this command do?<br><br>
# Issue the following Linux command: <span style="color:blue;font-weight:bold;font-family:courier;">tail -2 data.txt > output.txt</span><br><br>What does this command do? Check the contents of the '''output.txt''' file to confirm.<br><br>
# Issue the following Linux command: <span style="color:blue;font-weight:bold;font-family:courier;">tail -2 > output2.txt < data.txt </span><br><br>What does this command do? Check the contents of the '''output2.txt''' file to confirm. Why does this command render the same resultsas the previous command?<br><br>
# x
13,420
edits

Navigation menu