13,420
edits
Changes
→Part 1: Using the Linux Shell
x
Bash Shell Shortcut Keys
Learning shortcut keys in any OS terminal will allow you to be more productive as a sysadmin. You will focus on learning a few common Bash Shell keyboard shortcut keys
and learn where you can access online help for additional shortcuts (if required).
'''Perform the Following Steps:'''
# Type the following Linux command, but DON’T press the ENTER key: cd /bin<br><br>
# Press the ctrl-a key combination. What happens?<br><br>
# Press the alt-shift-f key combination. What happens?<br><br>
# Press the ctrl-w shortcut. What happens?<br><br>
# Type the following command: ls<br><br>
# Press the ctrl-e key combination and press ENTER. What was the purpose of using these key combinations?<br><br>
Getting Help with Linux Commands
With the Linux OS containing over 2500 commands and utilities, it is good for a Linux user or sysadmin to learn about how to use commands “on-the-fly”.
You should have learned that the man command can provide information on how to use a command (i.e. usage, arguments, options). The commands are classified into sections or “volumes”.
12. Issue the following command:
man man
How many volume numbers are contains in the man pages?
(like executable programs or games)?
13. In the right-hand textbox, write the purpose for volumes 1, 3, and 8 for the man command.
14. Issue the following pipeline command: man -k copy | grep 8
What was the purpose of issuing the pipeline command displayed above?
15. If you wish to change your password, you can change it by issuing the command: passwd
What option for the passwd command can be used to change user info (such as name)?
Hint: use the manpages for the passwd command.
You are NOT required to change your password for this tutorial.
:'''Perform the following steps:'''