13,420
edits
Changes
→Part 1: Using the Linux Shell
# Exit the man utility for the ''ls'' command.<br><br>
# Issue the '''ls''' command for <u>each</u> of those option letters you noted in '''step 4''' 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 '''| ''' characterand the ''grep'' command to match a pattern) until later,<br>try issuing the following pipeline command to list Linux administration commands (i.e. volume number "8"):<br><span style="font-family:courier;color:blue;font-weight:bold">man -k copy | grep 8</span><br><br>How does 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="font-family:courier;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"<br>with the ''my.senecacollege.ca server'', so it is better to have your Matrix password changed at the same time<br>that you change your '''myseneca''' password.<br><br>
# Press the letter <span style="font-family:courier;color:blue;font-weight:bold">q</span> to exit the man command.<br><br>You will now learn how to using '''command line editing''' to correct syntax errors while typing Linux commands PRIOR to pressing the ENTER key.<br><br>