Changes

Jump to: navigation, search

Tutorial8: Links / Process Management

68 bytes added, 15:15, 25 February 2021
INVESTIGATION 3: ALIASES / COMMAND HISTORY
# Logout of your Matrix account, than log into your Matrix account.<br><br>
# Reissue the '''lh''' alias. What happened? Why?<br><br>'''FYI:''' In order to PROPERLY run the following checking script, we need to run it via the "dot" (.) command. This is done by typing a period, followed by a space, and then followed by the checking script's pathname. By running the "dot" command, aliases that were set in your current session are recognized within the running script for checking purposes.<br><br>
# Issue the following Linux command to check your work("'''.'''" as the '''command''' and pathname as the '''argument'''): <br><span style="color:blue;font-weight:bold;font-family:courier;">. /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>
13,420
edits

Navigation menu