Open main menu

CDOT Wiki β

Changes

Tutorial8: Links / Process Management

366 bytes added, 15:14, 25 February 2021
INVESTIGATION 3: ALIASES / COMMAND HISTORY
# Run the '''lh''' alias to see what happens.<br><br>What happenned?<br><br>
# 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: <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>
13,420
edits