CompTIA Linux+ study materials
CompTIA Linux+ study resources

CompTIA Linux+ key terms

CompTIA Linux+ · Get comfortable with the vocabulary.

GRUB2

The default bootloader on most Linux distributions; it presents a menu, loads the kernel and initramfs into memory, and passes boot parameters. Its configuration lives in /boot/grub/grub.cfg, usually generated by helper scripts.

Related: initramfs, systemd target
initramfs

A small compressed filesystem loaded together with the kernel at boot. It contains the drivers and tools needed to locate and mount the real root filesystem before handing control over to it.

Related: GRUB2, Mount point
/etc/fstab

A configuration file listing filesystems and where they are mounted at boot, including mount options and the dump and fsck order. Entries are typically identified by UUID or device path.

Related: Mount point, LVM logical volume
Mount point

The directory in an existing filesystem tree where another filesystem is attached, making the new filesystem's contents appear at that path until it is unmounted.

Related: /etc/fstab, df
LVM logical volume

A virtual block device carved from a volume group by the Logical Volume Manager, letting administrators resize, snapshot and move storage without repartitioning physical disks.

Related: Mount point, /etc/fstab
Swap space

Disk area used as overflow for memory when pressure rises, or to hold inactive pages. It can be a dedicated partition or a swap file activated with swapon.

Related: /etc/fstab, df
systemd unit file

An INI-style file describing a resource systemd manages, such as a service, socket, mount, timer or target. It declares dependencies, the command to run and restart behavior.

Related: systemctl, systemd target, systemd timer
systemctl

The primary command for controlling systemd, used to start, stop, restart, enable or disable units and to inspect their status and dependencies.

Related: systemd unit file, systemd target, journalctl
systemd target

A grouping unit that pulls in a set of other units to represent a system state, such as multi-user.target or graphical.target, replacing the older SysV runlevels.

Related: systemctl, GRUB2
/etc/passwd

A world-readable text file holding one line per local account with username, UID, GID, home directory and login shell. Password hashes are not stored here on modern systems.

Related: /etc/shadow, useradd
/etc/shadow

A root-only file containing password hashes plus aging fields for each account, such as last change day, minimum and maximum age, warning period and expiry date.

Related: /etc/passwd, chage
useradd

A low-level command that creates an account entry, assigns a UID and primary group, and can optionally create the home directory and copy in skeleton files.

Related: /etc/passwd, /etc/shadow, chage
chage

A command that displays or edits password aging information in /etc/shadow, including expiry dates, minimum and maximum days between changes, and warning days.

Related: /etc/shadow, useradd
PAM

Pluggable Authentication Modules, a framework of shared libraries that lets programs such as login and sshd use configurable stacked authentication, account, session and password checks.

Related: /etc/shadow, sudoers
sudoers

The configuration file, edited with visudo, that defines which users or groups may run which commands as which target users, and whether a password is required.

Related: PAM, auditd
SSH key pair

A public and private cryptographic key used for passwordless, encrypted authentication. The public half is placed in authorized_keys while the private half stays secret on the client.

Related: firewalld, sudoers
SELinux

A mandatory access control system built into the kernel that labels processes and files and enforces policy rules, running in enforcing, permissive or disabled mode.

Related: AppArmor, auditd
AppArmor

A kernel security module that confines programs using per-program profiles of allowed file paths and capabilities, shipped mainly with Debian and Ubuntu systems.

Related: SELinux
firewalld

A dynamic firewall manager that uses zones and services to define allowed traffic and applies rules through nftables or iptables backends without dropping existing connections.

Related: ss, SSH key pair
umask

A value that masks permission bits when new files and directories are created, subtracted from the defaults of 666 for files and 777 for directories.

Related: Special permission bits
Special permission bits

The setuid, setgid and sticky bits shown as s or t in permission strings. They run a program as its owner, inherit a directory's group, or restrict deletion in shared directories.

Related: umask, SELinux
GnuPG (GPG)

A tool for public-key encryption and digital signing, used to encrypt files and email and to verify the signatures on packages and software repositories.

Related: SSH key pair
auditd

The userspace daemon that receives kernel audit events, writes them to log files and can raise alerts. It is used to record security-relevant activity such as privilege changes.

Related: journalctl, SELinux
Shebang

The first line of a script beginning with #!, which names the interpreter that should execute the file, for example #!/bin/bash.

Related: Exit status, Redirection
Exit status

A number from 0 to 255 returned when a command finishes, where 0 means success. Scripts inspect it through $? or in conditionals to control flow.

Related: Shebang, sed
crontab

A per-user schedule table for cron made of five time fields followed by a command; edited with crontab -e and stored under /var/spool/cron.

Related: systemd timer, journalctl
systemd timer

A unit that triggers another unit on a calendar or monotonic schedule, offering logging, dependency handling and accuracy options beyond those of traditional cron.

Related: crontab, systemd unit file
Ansible playbook

A YAML file describing an ordered set of tasks and a desired state to apply to managed hosts, run over SSH without an agent installed on the targets.

Related: SSH key pair, crontab
sed

A stream editor that reads text line by line and applies scripted substitutions, deletions and other edits, commonly used inside shell pipelines.

Related: awk, Redirection
awk

A pattern-action text processing language that splits each input line into fields, making it suited to column extraction, reformatting and report generation.

Related: sed
Redirection

Operators such as >, >>, < and 2>&1 that connect a command's standard input, output or error stream to files or to other file descriptors.

Related: Exit status, awk
dmesg

A command that prints the kernel ring buffer, showing hardware detection, driver messages and errors recorded during boot and by later events.

Related: journalctl, GRUB2
journalctl

The command for querying the systemd journal, able to filter entries by unit, boot, priority or time range and to follow new messages live.

Related: dmesg, systemctl
strace

A diagnostic tool that traces the system calls a process makes and the signals it receives, useful for finding why a program fails or hangs.

Related: lsof, dmesg
ss

A tool that dumps socket statistics, showing listening ports, established TCP connections, addresses, and the processes that own each socket.

Related: lsof, firewalld
df

A command that reports used and available space for each mounted filesystem, with -i showing inode usage instead of block usage.

Related: lsof, Mount point
lsof

A command that lists open files and the processes holding them, including network sockets, which helps identify what blocks an unmount or occupies a port.

Related: ss, strace
traceroute

A tool that maps the path packets take to a destination by sending probes with increasing TTL values and reporting each responding hop along the way.

Related: ss