Linux Installation and Usage (review questions) - [LINUX System Administration]
Users enter commands directly to the kernel of the Linux operating system. True or False?
False
How can you protect a metacharacter (such as the $ character) from shell interpretation?
Precede it with a \.
What command is equivalent to the man -k keyword command?
apropos keyword
Which of the following commands can be used to display a calendar for the current month?
cal (The cal command will display a calendar for the current month.)
Which command blanks the terminal screen, erasing previously displayed output?
clear
Which of the following refers to the third primary partition on the second SAS hard disk within Linux?
sdb3
After you log in to a terminal, you receive a user interface called a ________.
shell
Which of the following commands will power off a Linux system after a 10 minute delay?
shutdown -P 10 (The -P option for the shutdown command will specify an amount of time in minutes to wait before powering off a Linux system.)
Which prompt does the root user receive when logged in to the system?
#
Which prompt do regular users receive when logged in to the system?
$
Sandra needs to obtain the latest image of Fedora so that she can install it as a virtual machine on her Windows workstation. Which of the following file formats is Sandra likely to find available for download from Fedora's website in order to allow her to use the file as the source for booting and installing Linux as a VM?
.iso (This is a disk image that is commonly available to download from Linux distribution sites and is meant to be burned to an optical disc or used as installation media for virtual machines.)
Which of the following would be the correct device for the primary master PATA hard disk?
/dev/hda (The primary master PATA hard disk on a Linux system is labeled as /dev/hda.)
Which two partitions do you typically create at minimum during a Fedora Linux installation? (Choose two answers.)
1. / 2. swap
Which of the following are true of the echo command?
1. When used to display text, quotation marks are optional. 2. It can be used to display shell variables by including a $ sign in front of the variable name. 3. Including a semicolon at the end of the line will not affect the text being displayed. (All of the options are true. The echo command can be used to display text whether the text is surrounded by quotation marks or not. It will display shell variables by using the $ sign in front of the variable name. It will also execute the command with a semicolon at the end and not affect the text. This is because you can run multiple commands at the command line by separating them with semicolons, but if there is only one command, it just stops after that command.)
Wayne is using the command line and is in his home directory. Which of the following will display a list of all files and their sizes from his home directory? (Choose two.)
1. ls -al ~ 2. ls -al /home/wayne (1. The -a will list all files and the -l will list extra information about them, including file sizes. The tilde is a shortcut way of referencing a user's home directory. 2. The -a will list all files and the -l will list extra information about them.)
What is the default shell in Linux called?
BASH
When sitting at a computer running Linux, what key combination do you press to open the graphical terminal?
Ctrl+Alt+F1
Which of the following key combinations would switch from tty1 to tty3?
Ctrl+Alt+F3 (The correct key combination to switch to tty3 is Ctrl+Alt+F3.)
Linux commands entered via the command line are not case sensitive. True or False?
False
Which of the following is NOT an example of virtualization software that can be used to install Linux within another operating system? a. Oracle VirtualBox b. Microsoft Hyper-V c. Spiceworks d. VMWare
Spiceworks
If you boot your computer from Linux live media, you will be able to use a fully-functional Linux system prior to installing Linux on permanent storage. True or False?
True
To install Linux within a virtual machine, you can specify the path to an ISO image that contains the Linux installation media within virtualization software without having to first write the ISO image to a DVD or USB flash drive. True or False?
True
Which of the following is not a piece of information that the Fedora installation program prompts you for?
firewall settings
What command can you use to safely shut down the Linux system immediately?
halt
What equivalent to the man command generally provides an easier-to-read description of the queried command and contains links to other related information?
info
You know a Linux command will perform a desired function for you, but you cannot remember the full name of the command. You do remember it will flush a variable from your system. Which command typed at a command prompt displays a list of commands that would likely contain the command you desire?
man -k flush
Dustin runs a command at the command line trying to find out what kernel version the system is running. However, it doesn't give him the information he needs. He knows there is an option that can be used to display the kernel version. How can he find out which option to use?
man uname (The man command will display the manual pages for a command. The uname command will display system information. To display just the kernel version, he would be able to run the command and option combination of uname -v.)
Which command displays the users who are currently logged in to the Linux system?
who