Open main menu

CDOT Wiki β

Changes

Tutorial8: Links / Process Management

14 bytes added, 07:33, 31 January 2021
INVESTIGATION 3: ALIASES / COMMAND HISTORY
# Reissue the '''lh''' alias. What happened? Why?<br><br>
# Issue the following Linux command to check your work: <br><span style="color:blue;font-weight:bold;font-family:courier;">bash /home/murray.saul/scripts/week8-check-3</span><br><br>If you encounter errors, then view the feedback to make corrections, and then re-run the checking script.<br>If you receive a congratulation message that there are no errors, then proceed with this tutorial.<br><br>
# Issue the following Linux command: <span style="color:blue;font-family:courier;font-weight:bold">history| grep "lh"</span><br><br>What do you notice?<br><br>
# Press an exclamation mark ! immediately followed by the number by one of those commands listed in the history list and press <span style="color:blue;font-family:courier;font-weight:bold">ENTER</span><br><br>What happened?<br><br>
# Type the following: <span style="color:blue;font-family:courier;font-weight:bold">!unalias</span> and press <span style="color:blue;font-family:courier;font-weight:bold">ENTER</span><br><br>What happened?<br><br>
# Issue the following Linux command: <span style="color:blue;font-family:courier;font-weight:bold">history | grep ln"lh"</span><br><br>What happened?<br><br>
# After you complete the Review Questions sections to get additional practice, then work on your<br>'''online assignment 2''' and complete '''section4''' labelled: '''Linking files and directories'''.<br><br>
13,420
edits