Changes

Jump to: navigation, search

Tutorial 1: Using Your Matrix Server Account

743 bytes added, 16:51, 24 September 2020
Part 1: Using the Linux Shell
# Issue the following command: <span style="color:blue;font-weight:bold">man man</span><br>How many volume numbers are contained in the man pages (like '''executable commands/programs''', '''games''', or '''system administrator commands''')?<br><br>
# Press the letter <span style="color:blue;font-weight:bold">q</span> to exit the man command.<br><br>
# Issue the following Linux command to get help with the ls command: <span style="color:blue;font-weight:bold">man ls</span><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;fb&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 '''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>
'''Command Line Editing'''
Learning '''shortcut keys''' in any OS terminal will allow you to be more productive as a sysadmin. You will focus on learning <br>Let's learn a few common Bash Shell keyboard shortcut keysand learn find out where you can access <br>online help for additional shortcuts (if required).
'''Perform the Following Steps:'''
# Press the up arrow key. What happens?<br><br>
# Press the <span style="color:blue;font-weight:bold">ctrl-u</span> key combination. What happens?<br><br>
# Press the <span style="color:blue;font-weight:bold">up arrow</span> key combination, and see what happens when you press <span style="color:blue;font-weight:bold">BACKSPACE</span> , <span style="color:blue;font-weight:bold">&lt;ctrl&gt;&lt;BACKSPACE&gt;</span> and <span style="color:blue;font-weight:bold">&lt;ctrl&gt;&lt;h&gt;</span>. <br>Why is it important to know those series of key combinations?<br><br>
# Press the <span style="color:blue;font-weight:bold">ctrl-u</span> key combination to clear the line.<br><br>
# Press the <span style="color:blue;font-weight:bold">ctrl-l</span> key combination. What happens? What is the advantage of using this key combination then issuing the '''clear''' command?<br><br>
:The Bash shortcut keys that you just learned are sufficient to perform Bash Shell editing.<br>Although you are NOT required to learn other short-cut keys, here is a link to a listing in case you are interested:<br>https://ostechnix.com/list-useful-bash-keyboard-shortcuts/
<br>
===Part 2: Performing Online Assignments ===
# When you have time this week, enter <span style="color:blue;font-weight:bold">2</span> in the menu selection area and perform the first 3 parts only<br>('''Unix Command Structure''', '''Entering and Editing Commands''', '''Using the Online Manual''').<br><br>
# When you have completed this section, you will be returned to the main window.<br>View the contents of this window to confirm that you completed this section.<br><br>'''NOTE:''' Although you are NOT allowed to use reference sheets for course evaluations, it is recommended to create one for your personal use, and write down Linux commands, their arguments and options, so your can successfully perform quizzes, midterm exam, and final exam.<br><br>
# In order to exit the assignment #1 screen, enter <span style="color:blue;font-weight:bold">q</span><br><br># Run the command to restart your assignment #1 and go to the main menu.<br>What do you notice?<br><br>If you successfully completed the first two sections, they no longer appear in reverse video.<br>This indicates that you have completed the first two sections of this assignment.<br><br># Exit your Assignment 1, and exit your Matrix session.<br><br># Proceed to the next section to perform additional practice. Linux is about "doing"! The more practice questions you perform, <br>the better mark you will achieve for this course and have a better foundation of issuing Linux commands to be more productive in your future courses.<br><br>
= LINUX PRACTICE QUESTIONS =
13,420
edits

Navigation menu