13,420
edits
Changes
→Part 1: Using the Linux Shell
# Navigate through the man utility for the '''ls''' Linux command and note the option letters that correspond to the following:<br><ul><li>Include directory entries whose names begin with a '''period'''</li><li>List in long ('''detailed''') format</li><li>'''Recursively''' list subdirectories encountered</li><li>'''Sort''' files by size</li><li>Display a '''forward slash''' (`/') immediately after each pathname that is a directory</li></ul><br>
# Exit the man utility for the ls command.<br><br>
# Issue the ls command for each of those option letters you wrote down to see how this command differs for each option.<br><br>'''NOTE: ''' The '''man''' utility can be used with the '''-k''' option to help list Linux commands that match a text pattern <br>that is contained within the help screen for a Linux command.<br><br>
# Although we will not be learning about pipeline commands (using the | character) until later, try issuing the following pipeline command: <span style="color:blue;font-weight:bold">man -k copy | grep 8</span><br>How this this pipeline command make it easier to obtain information regarding man command?<br><br>
# If you wish to change your password, you can change it by issuing the command: <span style="color:blue;font-weight:bold">passwd</span><br>What option for the passwd command can be used to change user info (such as name)?<br>'''Hint:''' use the '''man''' command for '''passwd'''.<br><br>'''NOTE:''' You are NOT required to change your Matrix password for this tutorial. The Matrix server is "synched" with the my.senecacollege.ca server, so it is better to have your Matrix password changed at the same time that you change your '''myseneca''' password.<br><br>