Open main menu

CDOT Wiki β

Changes

Tutorial8: Links / Process Management

12 bytes added, 14:11, 25 February 2021
INVESTIGATION 3: ALIASES / COMMAND HISTORY
# Issue the following command to confirm that this newly-created alias is stored in memory:<br><br><span style="color:blue;font-family:courier;font-weight:bold">alias | grep "lh"</span><br><br>
# Issue the following alias: <span style="color:blue;font-family:courier;font-weight:bold">lh</span> <br><br>What do you think this command does?<br><br>
# '''Logout ''' of your Matrix account, than log into your Matrix account.<br><br>
# Reissue the '''lh''' alias. What happened?<br><br>
# Issue the '''alias | grep lh''' command without any arguments to see if it is stored in memory.<br><br>
# Add the following line at the bottom of this file:<br><span style="font-family:courier;font-weight:bold;>alias lh='ls --human-readable --size -1 -S --classify'</span><br><br>
# Save your editing changes and exit your text editor.<br><br>
# '''Logout ''' of your Matrix account, than log into your Matrix account.<br><br>
# Reissue the '''lh''' alias. What happened?<br><br>
# Issue the following Linux command: <span style="font-family:courier;font-weight:bold;>unalias lh</span><br><br>
13,420
edits