Chapter 2 Flashcards

1
Q

What is a Hardware Compatibility List (HCL) and where can you find it?

A

identifies whether the computer and hardware have Linux driver support. Many Linux distribution websites and manufacturer websites contain this list.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Installation Media (ISO Image)

A
  1. Standard DVD ISO image
  2. Live Media DVD/USB ISO image
  3. Virtual Machine Host ISO image

Most commonly a DVD. Most computers check the DVD for a startup program immediately after being turned on. ISO file can be written onto a DVD and downloaded from the OS distributor website.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

r

Can USB drive be used to boot and install OS?

A

Yes, provided the computer allows booting from a USB drive.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Live Media image

A

Live Media image can be used on a DVD/USB. When the computer boots live media a fully functional OS will be loaded into the RAM. This a great way to test all hardware drivers were detected correctly prior to installing it to permanent storage.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Virtualization Software

A

Runs multiple OS concurrently. Ex: Microsoft Hyper-V, VMWare, Oracle VM VirtualBox

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

virtual machine

A

a name for each OS that is run within virtualization software.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Virtual Machine Host

A

the underlying OS running the virtualization software

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Explain how to install Linux as a virtual Machine

A

Download the Standard DVD or Live Media DVD ISO image to a directory on your virtual machine host. When running the virtualization software and create a new virtual machine you can select the downloaded iso directly. No need to write the ISO image to a DVD or a USB flash drive.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the core component of the OS?

A

The kernel which is a file usually called vmlinuz located on the hard disk and loaded when you first turn on your computer.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is a terminal?

A

the channel that allows you to log into Linux. Terminal > Shell > Kernel

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is a shell?

A

It is the user interface of the terminal. It accepts input and send it to the kernel for processing.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the default shell in Linux?

A

The BASH shell (Bourne Again Shell)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is a command line terminal and how does it differ from a GUI?

A

The command line is text based and the default when logging into a terminal. Command line prompts you to type commands to tell the Linux kernel what to do.

A GUI can be accessed after log in via the command line. GUI can use a pointing device, typically a mouse, to navigate and start tasks.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is required to log into an installed Linux OS?

A

Valid user name and password.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is the command line prompt for a root user?

A

hashtag underscore #_

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is the command line prompt for a regular user?

A

$_

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

What is a gdm?

A

Gnome Desktop Manager

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

Give an example of a terminal name.

A

tty1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

How do you access a command-line terminal within the GNOME desktop?

A

Top Left > Activities > Applications > Utilities > Terminal

20
Q

What are basic shell “commands?”

A

indicates the name of the program to execute (case-sensitive)

21
Q

What are basic shell “options?”

A

Alters the way the command works. Options are specific to the commands.

Specific letters that start with a dash(-) and appear after the command. (case-sensitive)

22
Q

What are basic shell “arguments?”

A

Specifies parameters that tailor the command to your particular needs.

Appears after the command name and does not start with a dash. (case-sensitive)

23
Q

How do you cycle through previously entered commands in the BASH shell?

A

The arrow keys (up, down, left, right)

24
Q

What is the “su -“ command?

A

Switch user command. If no user is named it is assumed to be root. Ex: “su - root” and “su - user1”

25
Q

shell metacharacters

A

keyboard characters that have special meaning. Ex: $ which tells the shell that the following text refers to a variable.

26
Q

shell variable

A

$
a piece of information that is stored in memory. variable names are typically uppercase words and most variables are set by the Linux system when you log in.

27
Q

Ctrl+C

A

cancel the current command and return to the normal command prompt

28
Q

How do you enclose a shell variable so the shell does not interpret its special meaning?

A

Single Quotation marks ‘My Shell is $SHELL’

Double Quatation marks “My Shell is $SHELL”

backslash My Shell is \SHELL

29
Q

Where can you find the documentation for Linux commands?

A

manual pages (man pages)
type man command foll0wed by a command name on the terminal screen

30
Q

How do you search for commands?

A

man -k searchname

31
Q

What is the command for turning off the computer in Linux?

A

shutdown -P +15
shutdown(command) -P(period of time) +15(15 minutes)

32
Q

Users must log in to a FILL_IN and receive
a FILL_IN before they can interact with the
Linux system and kernel.

A

terminal, shell

33
Q

A typical Linux installation prompts the
user for what information?

A

language, date, time zone, keyboard layout, user account configuration, and permanent storage configuration.

34
Q

Prior to installation what should you verify?

A

hardware requirements and compatibility

35
Q

True or False…Regardless of the type of terminal that you
use (graphical or command-line), you can
enter commands, options, and arguments
at a shell prompt to perform system tasks,
obtain command help, or shut down the
Linux system.

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

a. / (partition to the root directory)
c. swap (virtual memory)

37
Q
  1. 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
38
Q
  1. Users enter commands directly to the
    kernel of the Linux operating system.
    True or False?
39
Q
  1. Which command blanks the terminal
    screen, erasing previously displayed
    output?
    a. erase
    b. clean
    c. blank
    d. clear
40
Q
  1. Which command displays the users
    who are currently logged in to the Linux
    system?
    a. finger
    b. who
    c. id
    d. date
41
Q
  1. 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
A

c. Ctrl+Alt+F1

42
Q
  1. 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
A

a. man -k flush

43
Q
  1. What command is equivalent to the
    man –k keyword command?
    a. find keyword
    b. man keyword
    c. apropos keyword
    d. appaloosa keyword
A

c. apropos

44
Q
  1. 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
45
Q
  1. What command can you use to
    safely shut down the Linux system
    immediately?
    a. shutdown -c
    b. shutdown -r
    c. down
    d. halt
A

b. shutdown -r