ITN 170 CHAPTER 2

Ace your homework & exams now with Quizwiz!

Which prompt does the root user receive when logged in to the system? a. $ b. @ c. # d. !

#

Under the root directory in Linux, which directory contains system commands and utilities? /opt /var /boot /usr

/usr

Which value along with the pkill command will kill a TTY connection forcefully?

9

A legacy hard disk technology that uses ribbon cables to typically attach up to four hard disk devices to a single computer.

Parallel Advanced Technology Attachment (PATA) also known as Integrated Drive Electronics (IDE)

A physical division of a hard disk or SSD.

Partitions

After logging into a terminal, a user will receive an interface known as which option? Processor User interface Swap memory Shell

shell

Which command helps you check the current TTY console?

tty

What directory under / contains the log files and spools for a Linux system? /boot /usr /opt /var

/var

To support secure authentication, you must configure the administrator account (root) and at least ______ regular user account(s).

1

Also known as the Bourne Again Shell, this is the default command-line interface in Linux.

BASH Shell

The shell that is used by default in Linux is the ________, which is an improved version of the Bourne shell from AT&T.

BASH shell

The part of a computer system that contains the programs used to initialize hardware components at boot time.

Basic Input/ Output System (BIOS)

The most common set of local command syntax documentation, available by typing the man command-line utility. Also known as man pages.

Manuel Pages

The key combinations that have special meaning in the Linux operating system.

Metacharacters

is merely a collection of software that allows you to use your computer hardware in a meaningful fashion.

Operating system

The specific letters that start with a dash (-) or two and appear after the command name to alter the way the command works.

Options

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 \.

Precede it with a \

The separate divisions into which an MBR-based hard disk or SSD can be divided (up to four are allowed per hard disk).

Primary Partitions

Linux installation media that provides a fully functional Linux operating system in RAM prior to installation on permanent storage.

Live Media

What command is equivalent to the man -k keyword command? a. find keyword b. man keyword c. apropos keyword d. appaloosa keyword

apropos keyword

Which of the following commands will power off a Linux system after a 10 minute delay? a. shutdown -t 600 b. shutdown -P 10 c. halt -t 10 d. poweroff --wait 10

b. shutdown -P 10

A calendar for the current month can be shown on the command line by issuing which command? date cal w id

cal

One of the most commonly used metacharacters is the $ character, which tells the shell that?

the following text refers to a variable.

Which prompt do regular users receive when logged in to the system? a. $ b. @ c. # d. !

$

What metacharacter indicates background command execution? @ ^ & !

&

An operating system that runs virtualization software.

Virtual Machine Host

Which two partitions do you typically create at minimum during a Fedora Linux installation? (Choose two answers.) a. / b. /boot c. swap d. /home

/ swap

You can control the use of TTY consoles using the __________. /etc/hosts /etc/login /etc/ssh/sshd_config /etc/systemd/logind.conf

/etc/systemd/logind.conf

What is the maximum number of Primary partitions that can be stored on a Hard disk?

4

How many TTY consoles are available in CentOS?

6

What metacharacter can be used to issue two commands to be run in consecutive order, without piping or redirecting output? \ & ; |

;

Which of the following are true of the echo command? When used to display text, quotation marks are optional. It can be used to display shell variables by including a $ sign in front of the variable name. Including a semicolon at the end of the line will not affect the text being displayed. All of the other options are true.

All of the other options are true

The text that appears after a command name, does not start with a dash (−), and specifies information that the command requires to work properly.

Arguments

What is the default shell in Linux called? a. SH b. BSH c. CSH d. BASH

BASH

When sitting at a computer running Linux, what key combination do you press to open the graphical terminal? a. Ctrl+Alt+G b. Ctrl+Alt+F4 c. Ctrl+Alt+F1 d. Ctrl+7

Ctrl+Alt+F1

Before installing freerdp, which of the following must be installed? Desktop components Fonts package Network package Epel-repo

Desktop Components

Linux commands entered via the command line are not case sensitive. True or False? a. True b. False

False

Users enter commands directly to the kernel of the Linux operating system. True or False? a. True b. False

False

Which of the following is not a piece of information that the Fedora installation program prompts you for? a. time zone b. installation destination c. firewall settings d. installation language

Firewall settings

The GUID Partition Table is used on hard disks that are _________ 2 TB in size.

Greater than or equal to

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 known as the kernel, and in Linux it is simply a file, usually called vmlinuz, that is located on the

Hard disk

A list of hardware components that have been tested and deemed compatible with a given operating system.

Hardware compatibility list (HCL)

A file that contains the content of a DVD. ISO images of Linux installation media can be downloaded from the Internet.

ISO Image

A set of local, easy-to-read command syntax documentation available by typing the info command-line utility.

Info Pages

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? .zip .tar.gz .iso .tgz

Iso

A filesystem function that keeps track of the information that needs to be written to the hard disk or SSD in a journal; common Linux journaling filesystems include ext3, ext4, and XFS.

Journaling

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 known as the?

Kernel

When you interact with a computer, you are ultimately interacting with the?

Kernel of the computer's operating system

The Master Boot Record (MBR) is used on hard disks that are __________ 2 TB in size.

Less than

A technology that allows for fast data transfer along a serial cable for hard disks and SSDs. It is commonly used in newer workstation and server-class computers.

Serial Advanced Technology Attachment (SATA)

Linux can have many terminals that allow you to log in to the computer locally or across a network. After you log in to a terminal, you receive a user interface called a ___________, which then accepts your input and passes it to the kernel for processing.

Shell

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

The channel that allows a certain user to log in and communicate with the kernel via a user interface. It is also the name of the graphical application that is used to obtain a BASH shell within the macOS desktop.

Terminal

a channel through which it can access the kernel as well as a user interface that passes user input to the kernel for processing. The channel that allows you to log in is called a?

Terminal

When connecting with the CentOS system through a remote connection, the password field does not show any input when you type the password. What is the reason? Password is not being entered. Password is masked. Password is shadowed in the shadow file. This is the default behavior.

This is the default behavior.

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? a. True b. 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? a. True b. False

True

A feature-rich BIOS replacement used in modern computers

Unified Extensible Firmware Interface

Each operating system that is run within virtualization software is called a?

Virtual Machine

An area on a hard disk or SSD (swap partition) that can be used to store information that normally resides in physical memory (RAM), if the physical memory is being used excessively.

Virtual Memory

An operating system that runs virtualization software.

Virtual machine host

A set of programs that can be used to concurrently run an operating system within another operating system.

Virtualization Software

A high-performance journaling filesystem used in Linux.

XFS

Which of the following would be the correct device for the primary master PATA hard disk? a. /dev/hda b. /dev/sda c. /dev/pataa d. /dev/drive0

a. /dev/hda

Which command blanks the terminal screen, erasing previously displayed output? a. erase b. clean c. blank d. clear

clear

By default, when you log in to a terminal, you receive a _____________ shell (BASH shell), which prompts you to type commands to tell the Linux kernel what to do.

command-line shell

Which of the following key combinations would switch from tty1 to tty3? a. Ctrl+Shift+F3 b. Alt+Shift+F3 c. Ctrl+Shift+3 d. Ctrl+Alt+F3

d. Ctrl+Alt+F3

After a shell is no longer needed, what command can be given to exit the shell? exit stop reset quit

exit

A partition on an MBR-based hard disk or SSD that can be further subdivided into components called logical drives.

extended partition

Which of the following is a free remote connectivity utility that uses Remote Desktop Protocol? freerdp xrdp RDP PuTTY

freerdp

What command can you use to safely shut down the Linux system immediately? a. shutdown -c b. shutdown -r c. down d. halt

halt

Primary Master PATA hard disk

hda

Primary slave PATA hard disk

hdb

Secondary master PATA hard disk

hdc

Secondary slave PATA hard disk

hdd

What equivalent to the man command generally provides an easier-to-read description of the queried command and contains links to other related information? a. who b. man help c. man -descriptive d. info

info

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.) ls -ax ls -al ~ ls -ax ~ ls -al /home/wayne

ls -al ~ ls -al /home/wayne

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

man -k flush

The apropos list command produces the same results as which command below? man -j list man -k list man -l list man -m list

man -k list

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? ver --help help version man uname lsproc -?

man uname

Select the utility below that will start and perform a thorough check of RAM for hardware errors when run. memcheck68 memtest86 fixram fsck

memtest86

When using command-line terminal, specific letters that start with a dash ("-") and appear after command names are considered to be: Arguments Options Keywords Metacharacters

options

Other than the tty command, which command reveals the name of the current TTY console?

ps

Which of the following refers to the third primary partition on the second SAS hard disk within Linux? a. hdb2 b. sda3 c. hdb3 d. sdb3

sdb3

A user interface that accepts input from the user and passes the input to the kernel for processing.

shell

After you log in to a terminal, you receive a user interface called a ________. a. GUID b. shell c. text box d. command screen

shell

A type of disk drive that functions within a computer like a hard disk drive but instead uses fast flash memory chips to store data.

solid-state drive

if you are logged in to the system as a regular user account, you can easily switch to the root user to perform any administrative tasks using the ______________ command.

su (switch user)

A ________ is a piece of information that is stored in memory; _________ names are typically uppercase words, and most _____________ are set by the Linux system when you log in.

variable

The Linux kernel exists as a file named: vmlinuz vmlinux kernel.0 krn.linux

vmlinuz

Which command displays the users who are currently logged in to the Linux system? a. finger b. who c. id d. date

who

Which Linux command can be utilized to display your current login name? who whoami id w

whoami


Related study sets

AP Government- Constitution Test

View Set

CLEP:Family, Home, and Society Throughout the Life Span

View Set

med surg prepU ch 44 Assessment and Management of Patients with Biliary Disorders

View Set