Midterm Flashcards

Theory

1
Q

The Bash Shell

A

A Linux command line program used to input instructions to the computer system. The default for Red Hat Enterprise Linux is the GNU Bourne-Again Shell (bash). Bash is an improved version of one of the most successful shells used on UNIX-like systems, the Bourne Shell (sh).

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

Shell Prompt

A

When a shell is used interactively, it displays a string when it is waiting for a command from the user. When a regular user starts a shell, the default prompt ends with a $ character. The prompt ends with a # if the shell is running as the superuser, root. This makes it more obvious that it is a superuser shell, which helps to avoid accidents and mistakes in the privileged account.

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

Terminal

A

Used to access the bash shell. Consists of keyboard and display. Can also be configured through serial ports.

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

Virtual Consoles

A

The physical console supports multiple virtual consoles which act like separate terminals. Each virtual console
supports an independent login session. If the graphical environment is available, it will run on the first virtual console. Five additional text login prompts are available on consoles two through six (or one through five if the graphical environment is turned off). With a graphical environment running, access a text login prompt on a virtual console by pressing Ctrl+Alt and pressing a
function key (F2 through F6).

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

Commands

A

Three basic parts: Command to run, Options to adjust command behaviour, and Arguments (typically targets of commands)

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

Usage Statement

A

(Printed when –help is used) A description of a command’s syntax and a list of options with descriptions of their function. Square brackets, [ ], surround optional items. Anything followed by … represents an arbitrary-length list of items of that type. Multiple items separated by pipes, |, means only one of them can be specified. Text in angle brackets, <>, represents variable data. Sometimes these variables are simply written in capital letters (e.g., FILENAME).

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

How to end a shell session

A

Execute the “exit” command, or press Ctrl+d

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

GNOME 3

A

Default desktop environment for Red Hat Enterprise Linux 7 (GUI on a Linux system)

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

GNOME Shell

A

Provides the core user interface functions for the GNOME desktop environment, and is highly customizable. By default, RHEL 7 users use the “GNOME Classic” theme for gnome-shell, which is similar to the GNOME 2 desktop environment. Another available option is the “modern” GNOME 3 theme used by the upstream GNOME project. Either theme can be selected persistently at login by selecting the gear icon next to the Sign In button when entering the user’s password.

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

GNOME Help

A

GNOME Help can be quickly started by pressing F1 in gnome-shell, by selecting Applications > Documentation > Help, or by running the yelp command.

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

Workspaces

A

Separate desktop screens which have different application windows. There are three methods for switching between workspaces. One method is to click the indicator in the right corner of the window list and select the desired workspace. Another, perhaps
the fastest, is to press Ctrl+Alt+UpArrow or Ctrl+Alt+DownArrow to switch between workspaces sequentially. A third is to switch to the Activities Overview and click the desired workspace. In Activities Overview, windows can be clicked and dragged between the current workspace and one of the others.

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

File System Hierarchy

A

All files on a Linux system are stored on file systems which are organized into a single inverted tree of directories, known as a file system hierarchy. This tree is inverted because the root of the tree is said to be at the top of the hierarchy, and the branches of directories and subdirectories stretch below the root. The directory / is the root directory at the top of the file system hierarchy. The / character is also used as a directory separator in file names.

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

Content Types

A

Static, Dynamic/Variable, Persistent, Runtime

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

Static Content

A

Content that remains unchanged until explicitly edited or reconfigured.

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

Dynamic/Variable Content

A

Content typically modified or appended by active processes.

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

Persistent Content

A

Content (particularly configuration settings) that remain after a reboot.

17
Q

Runtime Content

A

Process/system-specific content or attributes cleared during reboot.

18
Q

Absolute Path

A

A fully qualified name, beginning at root (/) and specifying each subdirectory traversed to reach and uniquely represent a single file.

19
Q

Relative Path

A

A path name with anything other than (/) as a first character.

20
Q

Linux file systems

A

Path name length of max4095 bytes. Each component (separated by “/”) may be no more than 255 bytes. Are case sensitive.

21
Q

Kernel-Based VM

A

A full virtualization solution built into the standard Red
Hat Enterprise Linux kernel. It can run multiple, unmodified Windows and Linux guest operating
systems. The KVM hypervisor in Red Hat Enterprise Linux is managed with the libvirt API and
utilities, such as virt-manager and virsh.

22
Q

Ctrl+a (Command Line)

A

Jump to the beginning of the command line.

23
Q

Ctrl+e (Command Line)

A

Jump to the end of the command line.

24
Q

Ctrl+u (Command Line)

A

Clear from the cursor to the beginning of the command line.

25
Q

Ctrl+k (Command Line)

A

Clear from the cursor to the end of the command line.

26
Q

Ctrl+Left Arrow (Command Line)

A

Jump to the beginning of the previous word on the command line.

27
Q

Ctrl+Right Arrow (Command Line)

A

Jump to the end of the next word on the command line.

28
Q

Ctrl+r (Command Line)

A

Search the history list of commands for a pattern.