13,420
edits
Changes
→Part 1: Using the Linux Shell
# Press the letter <span style="color:blue;font-weight:bold">q</span> to exit the man command.<br><br>
# Issue the Linux command to get help with the command: '''ls'''<br><br>'''NOTE:''' You can use the following short-cut keys within the man command to <br>help navigate throughout this utility to get help with the ls command (refer to table below):<br><br><table cellpadding="3"><tr><th style="border-bottom: 1px solid black;">Keyboard Shortcut</th><th style="border-bottom: 1px solid black;">Purpose</th></tr><tr><td>'''ENTER'''</td><td>Move down one line</td></tr><tr><td>'''SPACEBAR'''</td><td>Move one screen down</td></tr><tr><td>'''<ctrl><f>'''</td><td>Move one screen up</td></tr><tr><td>'''/pattern/'''</td><td>Search for Pattern</td></tr><tr><td>'''q'''</td><td>quit man utility</td></tr></table><br>
# 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 dot</li><li>List in long format</li><li>Recursively list subdirectories encountered</li><li>Sort files by size</li><li>Display a slash (`/') immediately after each pathname that is a directory</li></ul><br><br>
# Issue the following pipeline command: <span style="color:blue;font-weight:bold">man -k copy | grep 8</span><br>What was the purpose of issuing the pipeline command displayed above?<br><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>
# 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)? Hint: use the manpages for the passwd command.<br>'''NOTE:''' You are NOT required to change your password for this tutorial.<br><br>