Changes

Jump to: navigation, search

Tutorial 1: Using Your Matrix Server Account

61 bytes added, 12:08, 25 August 2020
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>'''&lt;ctrl&gt;&lt;f&gt;'''</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'''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 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 manpages '''man''' command for the '''passwd command'''.<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>
'''Command Line Editing'''
13,420
edits

Navigation menu