Linux Study Guide: Chapters 1–7 & Shell Administration

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/79

flashcard set

Earn XP

Description and Tags

Comprehensive vocabulary flashcards covering Linux fundamentals, installation, shell operations, filesystem administration, storage technologies, and process management.

80 Terms

1
New cards

Operating System (OS)

Software that manages computer hardware and software resources, sitting between the user, applications, and hardware to manage processes, memory, storage, devices, and interfaces.

2
New cards

Linux Kernel

The core component of the Linux operating system that controls hardware, manages memory and processes, loads OS components during startup, and communicates directly with device drivers.

3
New cards

Kernel Version Numbering

A three-part version structure consisting of major, minor, and revision levels; for example, in 5.18.165.18.16, 55 represents the major version, 1818 the minor version, and 1616 the revision.

4
New cards

Open Source Software (OSS)

Software whose source code is freely available for anyone to inspect, modify, enhance, and redistribute according to its specific license.

5
New cards

GNU General Public License (GPL)

The open-source license governing Linux that requires source code to remain available and mandates that any modified distributed versions must also remain licensed under the GPL.

6
New cards

Copyleft Licence

A licensing model, exemplified by the GPL, that incorporates an 'inheritance' property requiring all derivative or modified works to be distributed under the same licensing terms.

7
New cards

Linux Distribution (Distro)

A complete operating system package that combines the Linux kernel with system utilities, a package manager, a desktop environment, and pre-installed application software.

8
New cards

Live Media ISO

An installation image that boots and runs Linux entirely from RAM without writing to disk, allowing hardware verification prior to performing a permanent installation.

9
New cards

Basic Graphics Mode

A troubleshooting installation boot option that loads a generic, low-resolution video driver to resolve black or garbled screen issues caused by unsupported graphics hardware.

10
New cards

Media Testing

A pre-installation troubleshooting utility that performs a checksum verification on the installation media to catch corrupted downloads or bad USB writes before installation begins.

11
New cards

PATA Device Naming

The legacy naming scheme for Parallel ATA drives: Primary Master is hda, Primary Slave is hdb, Secondary Master is hdc, and Secondary Slave is hdd.

12
New cards

SATA / SCSI / SAS Device Naming

The naming convention where entire disks receive letters (such as sda, sdb, sdc) and individual partitions have appended numbers (such as sda1, sda2), located under /dev.

13
New cards

NVMe Device Naming

The naming standard for NVMe drives using controller and namespace numbers (e.g., nvme0n1 for the first disk) and an appended partition designator (e.g., nvme0n1p1 for the first partition).

14
New cards

Terminal

The communication channel—such as a console window, physical console, or SSH session—that passes keystrokes into the system and outputs text back to the user.

15
New cards

Shell

The user interface program operating inside a terminal that accepts command-line input, interprets user commands, and transmits instructions to the kernel for execution.

16
New cards

Bash (Bourne Again Shell)

The default command shell on most Linux systems, designed as an enhanced and backwards-compatible version of the original UNIX Bourne Shell.

17
New cards

GNOME Display Manager (GDM)

The graphical login program used by Fedora to authenticate users through a graphical screen before initializing the GNOME desktop environment.

18
New cards

Virtual Consoles (tty1–tty6)

Separate terminal sessions accessed via Ctrl+Alt+F1 through Ctrl+Alt+F6, where tty1 hosts the graphical login (GDM) and tty2 through tty6 provide text-based command-line logins.

19
New cards

Root vs Regular User Command Prompt

The visual indicator at the end of the shell prompt: a hash symbol (#) signifies administrative (root) privileges, whereas a dollar sign (\) indicates an unprivileged regular user account.

20
New cards

Command Options vs Arguments

Options modify how a command behaves (typically preceded by a dash −-), whereas arguments provide specific targets or inputs (such as filenames or paths) without leading dashes.

21
New cards

su -

The switch-user command option that invokes a full login shell, loading the target user's home directory, environment variables, and PATH settings rather than retaining the original caller's environment.

22
New cards

Shell Metacharacters

Special keyboard characters (such as $$, ~, #, &, ;,

23
New cards

Single Quotes vs Double Quotes in Bash

Single quotes act as a complete 'off switch' by protecting all enclosed characters from shell interpretation, whereas double quotes suppress wildcards and word-splitting but still allow variable expansion ($) and command substitution.

24
New cards

Command Substitution

A shell feature using back quotation marks (`cmd`) where the enclosed command is executed first and its standard output is substituted directly into the outer command line.

25
New cards

man Command

The built-in documentation system that displays formatted manual pages describing a command's purpose, syntax (synopsis), options, authors, and related commands.

26
New cards

Manual Page Section 1 vs Section 8

Section 1 of the manual pages contains commands executable by any user, while Section 8 is reserved specifically for administrative and system management commands requiring root privilege.

27
New cards

apropos / man -k

Commands that query the indexed manual page database by keyword to display every manual page containing the search term in its name or summary description.

28
New cards

whatis Command

A documentation utility that displays only the single-line descriptive summary of a command from its manual page, without loading the full manual text.

29
New cards

info Command

A GNU hypertext documentation tool that displays structured, readable tutorial pages containing navigable hyperlinks between connected topics.

30
New cards

help Command

A built-in shell command used to view syntax, options, and usage information for commands implemented directly inside the shell itself rather than as separate binaries.

31
New cards

shutdown -P +4 vs shutdown -H +4

shutdown -P +4 completely powers off the machine after a 4-minute delay, whereas shutdown -H +4 halts the operating system without signaling the hardware BIOS ACPI to cut physical power.

32
New cards

Filesystem Root (/) vs Root Directory (/root)

The forward slash (/) represents the top-level root of the entire Linux directory tree, whereas /root is specifically the private home directory of the root administrator account.

33
New cards

Absolute Pathname vs Relative Pathname

An absolute pathname specifies an unambiguous file location starting from the root directory (/), while a relative pathname specifies a location originating from the current working directory.

34
New cards

Dot (.) and Dot-Dot (..)

Special directory entries automatically present in every directory, where a single dot (.) represents the current directory and a double dot (..) represents the directory one level above.

35
New cards

Magic Number

A distinctive signature embedded in the first few bytes of a file that Linux inspects to determine its true file format, independent of any file extension.

36
New cards

ls -l Fields

An 8-part output displaying: file type and permissions, hard link count, owner, group owner, size in bytes, last modification date and time, and the filename.

37
New cards

ls -F Type Indicators

Appended character symbols indicating file classifications: a forward slash (/) denotes a directory, an asterisk (*) denotes an executable file, and an at-sign (@) denotes a symbolic link.

38
New cards

tail -f

An option of the tail utility that keeps a file open and continuously prints newly appended lines to the terminal in real time, widely used for active log file monitoring.

39
New cards

more vs less

Terminal pagers for viewing long text files; less is newer, faster, and more capable than more, supporting bidirectional navigation and scrolling without reading the entire file first.

40
New cards

Command Pipe (|)

A shell mechanism that feeds the standard output of one command directly into the standard input of another command in memory without writing intermediate files to disk.

41
New cards

od (Octal Dump)

A command that safely displays raw data from binary or text files represented as base-8 (octal) numbers or other selectable formats.

42
New cards

strings Command

A diagnostic utility that searches binary files for sequences of printable characters and outputs them, useful for extracting embedded error messages or command names.

43
New cards

reset Command

A terminal restoration utility that reinitializes the terminal driver and resets display settings back to default, fixing screens garbled by raw binary output.

44
New cards

Shell Wildcard * vs Regexp *

As a shell wildcard, * matches any string of zero or more characters; as a regular expression, * matches zero or more occurrences strictly of the single preceding character.

45
New cards

grep Command

Global Regular Expression Print; a text search utility that scans files line-by-line for a specified pattern and prints all matching lines to standard output.

46
New cards

vi Editor Modes

The operational states of vi: Command mode (processes cursor movements and edits), Insert mode (enters typed text, entered via i), and Last-line mode (performs file saves and exits, entered via :).

47
New cards

Filesystem Hierarchy Standard (FHS)

An official organizational standard defining the structure, names, and expected contents of primary directories and files across Linux distributions.

48
New cards

/etc Directory

The standard system directory reserved strictly for machine-specific, static configuration files and system administration settings.

49
New cards

/proc and /sys Directories

Virtual pseudo-filesystems dynamically synthesized in RAM by the kernel to export runtime kernel data, process state tables, and hardware device configurations.

50
New cards

/media vs /mnt

/media provides automatic system mount points for removable media (like USB drives and DVDs), whereas /mnt is the traditional staging directory for manual, temporary filesystem mounts.

51
New cards

mv vs cp

mv updates a directory entry to rename or move data without duplicating it (requiring no recursive flag for directories), whereas cp allocates new storage and duplicates data (requiring -r to copy directories).

52
New cards

rm -rf

A destructive removal command that combines recursive traversal (-r) and force (-f) to irreversibly erase entire directory structures without confirmation prompts.

53
New cards

rm vs unlink

rm can delete multiple files simultaneously and traverse directories recursively with -r, whereas unlink deletes strictly one file at a time and cannot delete directories.

54
New cards

locate vs find

locate performs rapid queries against a prebuilt indexed database that may be slightly outdated, whereas find live-crawls the real filesystem directory tree to provide precise, current results.

55
New cards

PATH Variable

An environment variable containing an ordered list of directories separated by colons that the shell searches sequentially to find executable binary commands.

56
New cards

Hard Link

An additional directory entry sharing the identical inode and disk storage of an existing file; it cannot cross filesystems, cannot link directories, and keeps data accessible until all link references are removed.

57
New cards

Symbolic Link (Symlink)

A separate small pointer file containing the textual pathname of another target file or directory; it can cross filesystems and point to directories, but becomes dangling if its target is removed.

58
New cards

Directory Permissions (r, w, x)

Read (r) allows listing filenames within the directory; write (w) allows adding, renaming, or deleting entries within it; execute (x) allows entering the directory (cd) and accessing its contents.

59
New cards

Non-Additive Permission Evaluation

The security rule stating that Linux evaluates permissions in strict order (User, Group, Other) and halts at the first matching category, meaning owner permissions always override group permissions.

60
New cards

Numeric Permissions

The octal representation of file rights calculated by summing r=4r=4, w=2w=2, and x=1x=1 for each class; for example, 644644 yields rw-r--r-- and 755755 yields rwxr-xr-x.

61
New cards

Access Control List (ACL)

An advanced filesystem permissions extension configured via setfacl and getfacl that assigns specific permissions to individual named users or groups outside the standard owner/group/other model.

62
New cards

ACL Mask

A boundary attribute in an Access Control List that sets the absolute maximum permission ceiling that any extended user or group ACL entry can grant.

63
New cards

Immutable Attribute (+i)

A filesystem attribute set via chattr +i that prevents a file from being edited, deleted, renamed, or overwritten by any user on the system, including root.

64
New cards

Character Device vs Block Device

Character devices transfer information stream-by-stream one character at a time (e.g., terminals), whereas block devices buffer and transfer data in fixed chunks or blocks (e.g., hard drives).

65
New cards

Mounting

The process of attaching a filesystem on a physical storage device to a specific directory (the mount point) within the unified Linux directory hierarchy.

66
New cards

Compression Ratio

The proportion of file size saved during compression, mathematically defined as Compression ratio=100%−compressed percentage\text{Compression ratio} = 100\% - \text{compressed percentage}.

67
New cards

tar (Tape Archive)

A classic utility used to bundle multiple files and directory hierarchies into a single archive file, using options such as -c (create), -x (extract), -v (verbose), and -f (file).

68
New cards

Storage Area Network (SAN)

A dedicated, high-speed, centralized storage network that provides block-level network storage access to multiple interconnected enterprise servers.

69
New cards

Uninterruptible Power Supply (UPS)

An electrical backup device with battery capacity designed to sustain server operations temporarily during outages, enabling orderly, corruption-free system shutdowns.

70
New cards

Type 1 vs Type 2 Hypervisors

Type 1 hypervisors execute bare-metal directly on the host hardware for maximum performance and efficiency, while Type 2 hypervisors run inside a conventional host operating system as an application.

71
New cards

SCSI ID vs LUN

A SCSI ID (Target ID) uniquely identifies a hardware controller or storage device on a SCSI bus, while a Logical Unit Number (LUN) identifies an individual sub-device or volume behind that target.

72
New cards

Serial Attached SCSI (SAS)

A modern serial point-to-point enterprise storage interface replacing parallel SCSI, capable of transferring data at speeds up to approximately 22.5 Gb/s22.5\,\text{Gb/s}.

73
New cards

RAID Levels (0, 1, 5, 6)

Storage array configurations where RAID 0 stripes without redundancy, RAID 1 mirrors data across drives, RAID 5 uses distributed parity tolerating 1 failure, and RAID 6 uses dual parity tolerating 2 failures.

74
New cards

ZFS (Zettabyte File System)

An integrated enterprise filesystem and logical volume manager that offers continuous checksumming, self-healing data repair, multi-disk pooling via zpool, and high fault tolerance.

75
New cards

Standard File Descriptors (0, 1, 2)

The default Linux I/O channels where file descriptor 0 represents Standard Input (stdin), 1 represents Standard Output (stdout), and 2 represents Standard Error (stderr).

76
New cards

Output Redirection (> vs >>)

The single greater-than operator (>) redirects standard output to a file, completely overwriting its prior contents, whereas double greater-than (>>) appends output to the end of the file.

77
New cards

User Process vs Daemon Process

A user process runs interactively inside a specific terminal session initiated by a user, whereas a daemon runs detached in the background to provide continuous system or network services.

78
New cards

PID vs PPID

Process ID (PID) is the unique numeric integer assigned by the kernel to identify a running process; Parent Process ID (PPID) is the PID of the ancestor process that spawned it.

79
New cards

init / systemd Process

The initial user-space process spawned directly by the kernel at system startup, always assigned PID 1\text{PID } 1 and PPID 0\text{PPID } 0, acting as the ancestor of all other running processes.

80
New cards

SIGTERM (15) vs SIGKILL (9)

Signal 15 (SIGTERM) politely requests a process to terminate cleanly and save its state, while signal 9 (SIGKILL) is an uncatchable command handled directly by the kernel that terminates a process immediately.