Intro to Linux L2 RQ – Flashcards
Unlock all answers in this set
Unlock answersquestion
True
answer
T/F. All OSs require a certain minimum set of hardware components to function properly.
question
True
answer
T/F. These minimum installation requirements can be obtained from several different sources, i. e., a manual, a file on the installation DVD or from a vendor website.
question
True
answer
T/F. Each individual hardware component should be checked against the Hardware Compatibility List (HCL) found on the vendor's Web site.
question
Use the ___ to ensure that all of the components of the computer are compatible with the new operating system to be installed.
answer
Hardware Compatibility List (HCL)
question
Computer's host name Internet or network configuration parameters And specific software packages to be installed
answer
In addition to the hardware components, it is necessary to identify the software components that will be used in the Linux operating system. These components include the following:
question
True
answer
T/F. You should create a preinstallation checklist to document hardware and software information.
question
DVD media (most common) An FTP server across the network An HTTP Web server across the network An NFS server across the network An SMB server across the network Packages located on the hard disk CD-ROM media
answer
State some installation methods for Linux.
question
True
answer
T/F. If a previous version of Fedora Core is detected by the installation, the user is prompted to either upgrade the previous installation of Fedora Core that exists on the hard drive or perform a fresh installation. Only perform an upgrade if there is data and configurations on the previous version of Fedora Core Linux that are difficult to re-create or back-up.
question
1) Administrator account (root) Full rights to the system 2) At least one regular user account
answer
During installation, two user accounts should be configured. State them.
question
All Linux systems require secure access, which means that each user must log in with a valid user name and password before gaining access to the system. This process is called ___.
answer
Authentication
question
read and write information to and from ferrous material coating rigid metal platters by spinning those platters rapidly under articulated arms holding electromagnetic heads.
answer
Hard Drivers (HDDs)
question
Parallel Advanced Technology Attachment (PATA) Serial Advanced Technology Attachment (SATA) Small Computer Systems Interface (SCSI)
answer
The most common storage devices for storing Linux OS are hard disks. State the three types discussed in our notes.
question
is a small, manageable section of a hard drive.
answer
A Partition
question
is a structure that specifies how data should reside on the hard disk itself.
answer
A Filesystem
question
A partition formatted with a file system is called a
answer
Volume.
question
True
answer
T/F. A primary partition is a major unique and separate HDD division. There is a maximum of four primary partitions.
question
is a partition that can be further subdivided into an unlimited number of smaller partitions called logical drives.
answer
An Primary Partition
question
is a table of all partition information for a certain hard disk and is stored in the first readable sector outside all of the partitions.
answer
A Master Boot Record
question
True
answer
T/F. The MBR is limited to hard disks that are less than 2 TB in size. Hard disks larger than 2 TB use a GUID Partition Table (GPT) instead of an MBR. The MBR and GPT are functionally equivalent.
question
True
answer
T/F. Each partition will have a file system and each of the filesystems can be accessed by Linux if they are attached (mounted) to a certain directory.
question
1) A partition that is mounted to the root directory in Linux (/) and can contain all of the files used by the operating system, applications and users. 2) A partition that is used for virtual memory (swap memory).
answer
At minimum, Linux typically requires only two partitions to be created. State them.
question
consists of an area on the hard disk that can be used to store information that would normally reside in physical memory (RAM) if the physical memory is being used excessively.
answer
Virtual Memory
question
True
answer
T/F. A general rule of thumb is to have the swap partition be two times the size of the physical memory (RAM).
question
True
answer
T/F. A swap file does not contain a filesystem and is never mounted to a directory, because the Linux operating system is ultimately responsible for swapping information.
question
True
answer
T/F. Extra partitions make Linux more robust against filesystem errors.
question
directory contains the Linux kernel and boot files.
answer
The /boot (500 MB)
question
directory is the default location for user home directories.
answer
The /home
question
directory contains log files and spools.
answer
The /var
question
ext2 (used on most Linux computers) ext3 (performs journaling) ext4 (performs journaling) VFAT (compatible with Windows FAT32) REISER (performs journaling)
answer
State several different common types of file systems discussed in class.
question
True
answer
T/F. The ext2 filesystem is the traditional filesystem still used on most Linux computers.
question
True
answer
T/F. The VFAT filesystem is compatible with the Windows' FAT file system.
question
True
answer
T/F. The other three filesystems, ext3, ext4 and REISER, perform a function called journaling and are more robust than ext2 and VFAT.
question
True
answer
T/F. Besides journaling, these two file systems have faster data transfer and indexing.
question
is one that keeps track of the information written to the hard drive in a journal.
answer
A Journaling File System
question
True
answer
T/F. With a journaling file system, each step required to copy a file to the new location is first written to a journal, so that the system can retrace the steps the system took prior to a power outage and complete the file copy.
question
is a program, started by the BIOS ROM after system startup, which loads the Linux kernel into memory from a hard disk partition and yet can also boot other existing OSs from another partition.
answer
A Boot Loader
question
is a boot loader that is configured during the Fedora Linux installation.
answer
GRand Unified Bootloader (GRUB)
question
True
answer
T/F. The boot loader usually resides on the Master Boot Record (MBR) or on first hard disk sector of the / or /boot partition.
question
are used to pass certain information to the Linux kernel via the boot loader.
answer
Kernel Parameters
question
True
answer
T/F. A user should log in with a user account for daily tasks.
question
Starting the installation Choosing the language, keyboard, and storage type Selecting a host name, time zone, and root password Configuring storage devices Configuring the boot loader Selecting and installing packages Completing the firstboot wizard
answer
State the basic outline for the Linux installation.
question
1) Boot from first Red Hat Fedora Linux DVD A Welcome screen is displayed, you can select the following options: Default graphical installation Installation with basic video driver Rescue installed items Boot from local drive Memory test 2) Check media for errors prior to installation Optional, but recommended 3) Choosing the language, keyboard, and storage type Allowed to choose installation language Choose keyboard configuration Keyboard model and layout automatically detected Select types of storage devices used to host the Linux OS For internal or locally attached hard drive installation, select Basic Storage Devices For installation on SAN or DASD, select Specialized Storage Devices 4) Selecting a host name, time zone, and root password Supply a host name that will identify the computer system on the network By default, use localhost.localdomain Important to select correct time zone for the local system Create a good root password 5) Configuring storage devices a) The Fedora Core installation program can automatically create partitions based on common configurations. It is preferred for the user to manually partition to suit the needs of the specific Linux system. b) New partitions can only be allocated from free space. c) It is best to manually create partitions that reflect the use of your system by selecting Custom Layout. d) When creating a partition, specify the partition technology. e) Instead of standard partitions, you can create logical volumes using the Logical Volume Manager (LVM) or create a software-based Redundant Array of Inexpensive Disks (RAID) volume that spans multiple disks. f) For standard disk partitions, you will need to provide information regarding its size, filesystem type, encryption options and the directory that it will be mounted to (mount point). 6) Configuring the boot loader Using GRUB, the user can choose the operating system at startup. If the computer has more than one operating system, this process is called dual booting. Using GRUB, the user can also set the default operating system. 7) Selecting and installing packages 8) Completing the firstboot wizard Complete the installation License information Create User Date and time Network Time Protocol (NTP) Hardware Profile
answer
State the detailed outline for the Linux installation.
question
Every operating system has a core component, which loads all other components and serves to centrally control the activities of the computer. This component is called the Kernel and in Linux is simply a file called ___, which is located on the hard drive and loaded when the user first turns on the computer
answer
vmlinuz
question
True
answer
T/F. When a user interacts with the computer, the user is interacting with the kernel of the operating system. This can not be done directly.
question
is the channel that allows a certain user to log in to the kernel locally or across a network.
answer
The Terminal
question
is a user interface that accepts input from the user and passes this input to the kernel for processing.
answer
The Shell
question
is the default Linux shell and is a command line shell.
answer
The BASH Shell
question
True
answer
T/F. Linux is a multiuser multitasking operating system and allows for multiple terminals. Each terminal has its own shell.
question
True
answer
T/F. Most users prefer a graphical interface. Any user can start the GUI environment on top of the BASH shell or switch to a graphical terminal, e.g., GNOME Display Manager (gdm).
question
True
answer
T/F. From the local server, use key combinations to change to separate terminals. Each command-line terminal may be accessed from the GUI environment (Ctrl + Alt + Fnx).
question
Root user: # Regular user: $
answer
State the symbols observed next to the command prompt that designate a root user from a regular user. Look at page 64.
question
When the user logs into a graphical terminal, the GUI environment of the user's choice is started, the default GUI environment in Fedora Core Linux is
answer
GNOME.
question
True
answer
T/F. Commands indicate the name of program to execute and are case sensitive.
question
are specific letters starting with - appearing after the command name to alter the way the command works.
answer
Options
question
specify a command's working parameters.
answer
Arguments
question
a is the option & /etc/ntp is the argument.
answer
In the command, ls -a /etc/ntp, all of the files in the /etc/ntp directory are listed. State the option and the argument.
question
is a BASH shell command that clears the screen.
answer
Clear
question
is a BASH shell command that resets your terminal to use default terminal settings.
answer
Reset
question
is a BASH shell command that displays information on system users.
answer
Finger
question
is a BASH shell command that displays currently logged-in users.
answer
Who
question
is a BASH shell command that displays currently logged-in users and their tasks.
answer
W
question
is a BASH shell command that displays your login name.
answer
Whoami
question
is a BASH shell command that displays the numbers associated with your account name and group names. These are commonly referred to as User IDs (UIDs) and Group IDs (GIDs).
answer
Id
question
is a BASH shell command that displays the current date and time.
answer
Date
question
is a BASH shell command that displays the calendar for the current month.
answer
Cal
question
is a BASH shell command that exits out of your current shell.
answer
EXIT
question
True
answer
T/F. If the output of a command is too large to fit on the terminal, use the Shift and Page Up keys simultaneously to view previous screens of information. Also the Shift and Page Down keys work the same way when pressed simultaneously to go in the opposite direction in the output displayed.
question
True
answer
T/F. The user can recall commands previously entered in the BASH shell using the keyboard keys (the up, down, right and left arrows keys). You can cycle through the list of commands.
question
are characters with a special meaning, e.g., $ tells the shell that the following text refers to a variable.
answer
Shell Metacharacters
question
echo My shell is $SHELL My shell is /bin/bash
answer
In the command given below, state the appropriate output.
question
True
answer
T/F. If you lose your cursor, you can cancel a command with holding down the Ctrl & c keys simultaneously.
question
True
answer
T/F. Linux distributions contain many commands.
question
are the most common form of documentation for Linux commands. They are called "man" pages. At the command prompt, type "man" followed by a command name.
answer
Manual Pages
question
This command will find the manual page for whoami in the file format section of the manual pages.
answer
man 5 whoami
question
This command will find all of the manual pages that have usb in their name or description.
answer
man -k usb
question
True
answer
T/F. Manual pages contain different section numbers.
question
True
answer
T/F. Linux returns the manual page with the lowest section number.
question
returns an easy-to-read description of each command and also contains links to other information pages (called hyperlinks). At command prompt, type "info" followed by a command name.
answer
Info Pages
question
True
answer
T/F. To quit the man command or info command, press the q key to quit.
question
True
answer
T/F. Some commands do not have manual pages or info pages.
question
True
answer
T/F. The operating system handles writing data from computer memory to the disk drives in the computer so that simply turning off the power to the computer might result in damaged user and system files.
question
True
answer
T/F. The user can use the shutdown command.
question
This commands shuts down the computer in 15 minutes.
answer
Shutdown -h +15
question
This commands shuts down the computer right now.
answer
Shutdown -h now
question
d. BASH
answer
1. What is the default shell in Linux called? a. SH b. BSH c. CSH d. BASH
question
d. info
answer
2. What equivalent to the man command generally provides an easier-to-read description of the queried command and also contains links to other related information? a. who b. man help c. man -descriptive d. info
question
d. halt
answer
3. What command can you use to safely shut down the Linux system immediately? a. shutdown -c b. shutdown -r c. down d. halt
question
c. apropos keyword
answer
4. What command is equivalent to the man -k keyword command? a. find keyword b. man keyword c. apropos keyword d. appaloosa keyword
question
a. text d. graphical
answer
5. The Red Hat Fedora installation can be performed in which two of the following modes? a. text b. full c. subtext d. graphical e. administrator assisted
question
False
answer
6. Linux commands entered via the command line are not case sensitive. True or False?
question
d. clear
answer
7. Which command blanks the terminal screen erasing previously displayed output? a. erase b. clean c. blank d. clear
question
c. Ctrl+Alt+F1
answer
8. When sitting at a computer running Linux, what key combination is pressed to open the graphical terminal? a. Ctrl+Alt+G b. Ctrl+Alt+F4 c. Ctrl+Alt+F1 d. Ctrl+7
question
b. shell
answer
9. After you log into a terminal, you receive a user interface called a _________. a. GUID b. shell c. text box d. command screen
question
False
answer
10. Users enter commands directly to the kernel of the Linux operating system. True or False?
question
e. Precede it with a .
answer
11. How can you protect a metacharacter (such as the $ character) from shell interpretation? a. Precede it with a /. b. Follow it with a . c. Precede it with a $. d. It cannot be done as metacharacters are essential. e. Precede it with a .
question
a. man -k flush
answer
12. 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? a. man -k flush b. man -k find all c. man flush d. man -key flush
question
b. who
answer
13. Which command displays the users who are currently logged in to the Linux system? a. finger b. who c. id d. date
question
c. NIS
answer
14. Which of the following packages can be used to standardize configuration files across Linux systems? a. Samba b. Apache c. NIS d. NFS
question
c. #
answer
15. Which prompt does the root user receive when logged in to the system? a. $ b. @ c. # d. !
question
a. $
answer
16. Which prompt do regular users receive when logged in to the system? a. $ b. @ c. # d. !
question
b. sda3
answer
17. Which of the following refers to the third primary partition on the second SCSI hard disk within Linux? a. hdb2 b. sda3 c. hdb3 d. sdb3
question
a. / c. swap
answer
18. Which two partitions do you typically create at minimum during a Fedora Linux installation? a. / b. /boot c. swap d. /home
question
Answer: d
answer
19. If you are planning to install 2.3Gb of packages when installing your Linux server, how much free space should you have on your hard disk to create the necessary filesystems? a. 2.3Gb b. 3 Gb c. 3.5 Gb d. 4.6 Gb
question
c. GRUB
answer
Which boot loader is available to choose from during the installation of Fedora Linux? a. LILO b. ABOOT c. GRUB d. TeX