Click Study Flashcards above to open the flashcard hub — hundreds of Linux+ cards you can flip, match, type, or quiz yourself on. Every card is drawn from the five official XK0-006 domains, so you study exactly what the exam tests.[1] Pair them with our free practice test and study guide.
CompTIA Linux+ is one of the 14 CompTIA certifications — explore our CompTIA flashcards to compare and prep across the whole family.
Linux+ Flashcard Study Modes
Flip mode is for first passes and review, letting you turn each card front to back at your own speed. Match times you as you pair terms with definitions. Type shows the definition and asks you to spell the term back, so a front like LVM has to come from memory. Quiz turns the same cards into multiple choice.

Why Flashcards Work for the Linux+
System Management is the largest block in the deck at 67 cards, matching its 23% share of the exam. The cards drill filesystem layout, storage, and file handling vocabulary, from FHS and the root directory card for / through XFS and LVM, plus archiving with tar and directory prompts such as /sys and /opt.
Troubleshooting carries 56 cards against a 22% weighting, and the fronts are mostly diagnostic commands and the symptoms they expose. Expect kernel and log inspection with dmesg, open file tracing with lsof, path testing with mtr and ping, capacity checks with df -h, and repair work with fsck.
Services and User Management has 56 cards for 20% of the exam. This section mixes package management across distributions, with apt, dnf, yum, and rpm sitting side by side, and account, privilege, and process terms such as id, sudo, PID, and job scheduling with at.
Security is 58 cards covering 18% of the exam. The fronts run from access control models like MAC and DAC to authentication plumbing in PAM and MFA, remote access with SSH, host firewalling with ufw, encryption and signing with gpg, and permission traps such as SUID.
Automation, Orchestration and Scripting closes the deck with 49 cards for 17%. Text processing dominates, with sed, awk, and grep appearing as separate fronts, alongside shell scripting mechanics like 2>&1, trap, and read, plus version control and infrastructure concepts in Git and IaC.
The Linux+ is dense with things you simply have to know cold — the FHS directories, permission octals, systemctl subcommands, package-manager commands, and troubleshooting tools.[1] Spaced flashcards are the most efficient way to keep it all fresh. Used alongside our practice test and study guide, they turn review time into measurable progress.
Linux+ Flashcards by Domain
The cards are organized by the five official XK0-006 domains. Drill the highest-weighted ones first — System Management and Troubleshooting make up 45% of the exam:[1]
| Domain | Exam weight |
|---|---|
| System Management | 23% |
| Troubleshooting | 22% |
| Services and User Management | 20% |
| Security | 18% |
| Automation, Orchestration & Scripting | 17% |
How to Get the Most Out of These Flashcards
- Start with System Management. It is the biggest domain at 67 cards and the heaviest at 23%, and its filesystem vocabulary underpins the troubleshooting and security cards you meet later.
- Type-drill the terse fronts. Symbols and flags such as 2>&1 and df -h are easy to recognize and hard to reproduce, so force recall instead of settling for a comfortable flip.
- Use Match for tool families. Grouping package managers like apt, dnf, and rpm under timed pressure exposes the ones you only half distinguish, which is exactly where exam distractors live.
- Move to the practice test once Quiz holds up. When multiple choice stops surprising you across all five domains, switch to full-length questions and use the study guide for gaps.
- Keep a rotating cadence. With 286 cards, work one domain per sitting, then mix a short Match round from a previously finished domain so older terms stay warm.
Linux+ Flashcards FAQ
Hundreds of free Linux+ flashcards, organized across the five XK0-006 domains — System Management, Services and User Management, Security, Automation/Orchestration/Scripting, and Troubleshooting. They're free with no account required.
Yes. Flashcards use active recall — retrieving an answer from memory — which research shows is one of the most effective study methods, especially in short, spaced sessions. They're ideal for the Linux+'s heavy command load: file paths, permission octals, systemctl, and package-manager commands.
All five XK0-006 domains: System Management (FHS, systemd, storage, networking), Services and User Management (users, processes, packages, containers), Security (permissions, SELinux/AppArmor, sudo, SSH), Automation/Orchestration/Scripting (Bash, Git, Ansible), and Troubleshooting (the methodology and tools like df, top, journalctl, and ss).
Lead with the heaviest domains — System Management (23%) and Troubleshooting (22%). Drill the FHS directories, permission octals, and command tables with Type and Quiz modes until automatic, then mix in the other domains. Pair the cards with our full practice test before exam day.
Yes — 100% free, all four study modes, no paywall.
Yes. The cards are organized to the current CompTIA Linux+ XK0-006 (V8) exam objectives, which launched July 15, 2025 and replaced the retired XK0-005. XK0-006 restructured the content into five domains, and these cards cover all of them.
Linux+ flashcard bank
All 286 cards, by topic
A reference copy of every card in this deck. Each answer stays hidden until you choose to show it. To study with Flip, Match, Type and Quiz modes and track what you have mastered, use Study Flashcards at the top of the page.
System Management (67)
- FHS
Show answerHide answer
Filesystem Hierarchy Standard — the standard layout of Linux directories under root (/).
- /
Show answerHide answer
The root of the entire Linux filesystem; everything mounts beneath it.
- /etc
Show answerHide answer
System-wide configuration files (text), e.g. /etc/passwd, /etc/fstab.
- /var
Show answerHide answer
Variable data that changes at runtime — logs (/var/log), spools, caches, mail.
- /home
Show answerHide answer
Regular users' home directories (e.g. /home/alice).
- /usr
Show answerHide answer
Installed programs, libraries, and documentation (largely read-only).
- /bin and /sbin
Show answerHide answer
Essential user and system binaries (often symlinked into /usr).
- /tmp
Show answerHide answer
Temporary files; world-writable with the sticky bit; often cleared on reboot.
- /dev
Show answerHide answer
Device files representing hardware and pseudo-devices (e.g. /dev/sda, /dev/null).
- /proc
Show answerHide answer
A virtual filesystem exposing live per-process and kernel data from memory.
- /sys
Show answerHide answer
A virtual filesystem exposing kernel device and subsystem information.
- /boot
Show answerHide answer
Holds the kernel, initramfs, and bootloader (GRUB) files needed to start the system.
- /opt
Show answerHide answer
Optional, self-contained third-party application packages.
- /var/log
Show answerHide answer
The directory where system and service log files are written.
- Mount point
Show answerHide answer
A directory where a filesystem is attached so its contents become accessible.
- BIOS vs UEFI
Show answerHide answer
Firmware that starts the boot process; UEFI reads the EFI System Partition, legacy BIOS reads the MBR.
- GRUB2
Show answerHide answer
The GRand Unified Bootloader v2 — loads the Linux kernel and initramfs at boot.
- initramfs
Show answerHide answer
A temporary in-memory root filesystem holding drivers needed to mount the real root.
- Kernel
Show answerHide answer
The core of the OS that manages hardware, memory, processes, and system calls.
- Linux boot order
Show answerHide answer
Firmware (UEFI/BIOS) → GRUB2 → kernel + initramfs → systemd (PID 1) → target → login.
- systemd
Show answerHide answer
The modern init system and service manager; runs as PID 1 and supervises units.
- PID 1
Show answerHide answer
The first user-space process started by the kernel — systemd on most distributions.
- Unit (systemd)
Show answerHide answer
A systemd-managed resource: a service, socket, mount, timer, or target.
- Target (systemd)
Show answerHide answer
A grouping of units defining a system state; replaces SysV runlevels.
- multi-user.target
Show answerHide answer
The systemd target for multi-user, command-line (non-graphical) operation.
- graphical.target
Show answerHide answer
The systemd target that starts the GUI on top of multi-user.
- systemctl
Show answerHide answer
The command to control systemd: start, stop, restart, enable, disable, status.
- systemctl enable
Show answerHide answer
Configure a service to start automatically at boot (does not start it now).
- systemctl start
Show answerHide answer
Start a service immediately (does not survive a reboot unless also enabled).
- systemctl enable --now
Show answerHide answer
Enable a service at boot AND start it right now in one command.
- systemctl status
Show answerHide answer
Show a service's current state, PID, and recent log lines.
- journalctl
Show answerHide answer
Query the systemd journal (logs); filter by unit, boot, time, and priority.
- journalctl -u
Show answerHide answer
Show the journal entries for one specific systemd unit/service.
- journalctl -b
Show answerHide answer
Show journal entries from the current boot.
- lsblk
Show answerHide answer
List block devices (disks and partitions) and their mount points.
- fdisk / parted
Show answerHide answer
Create and manage disk partitions (parted handles GPT and large disks).
- mkfs.ext4
Show answerHide answer
Create an ext4 filesystem on a partition.
- mkfs.xfs
Show answerHide answer
Create an XFS filesystem on a partition (default on RHEL).
- ext4
Show answerHide answer
A widely used, mature Linux journaling filesystem.
- XFS
Show answerHide answer
A high-performance journaling filesystem; the default on RHEL.
- Btrfs
Show answerHide answer
A modern copy-on-write Linux filesystem with snapshots and pooling.
- mount
Show answerHide answer
Attach a filesystem to a mount point so its contents are accessible.
- umount
Show answerHide answer
Detach a mounted filesystem from its mount point.
- /etc/fstab
Show answerHide answer
Lists filesystems to mount at boot, with mount points and options (use UUIDs).
- df -h
Show answerHide answer
Report filesystem disk space usage in human-readable form.
- du -sh
Show answerHide answer
Show the total size of a directory (summary, human-readable).
- LVM
Show answerHide answer
Logical Volume Management — pool disks into resizable logical volumes.
- LVM layers
Show answerHide answer
Physical Volume (PV) → Volume Group (VG) → Logical Volume (LV).
- pvcreate / vgcreate / lvcreate
Show answerHide answer
Create the LVM physical volume, volume group, and logical volume.
- mdadm
Show answerHide answer
Create and manage Linux software RAID arrays.
- RAID 0 vs 1
Show answerHide answer
RAID 0 stripes for speed (no redundancy); RAID 1 mirrors for redundancy.
- ip addr
Show answerHide answer
Show network interfaces and their IP addresses (modern replacement for ifconfig).
- ip route
Show answerHide answer
Show the routing table, including the default gateway.
- nmcli
Show answerHide answer
Command-line tool to manage NetworkManager connections.
- /etc/resolv.conf
Show answerHide answer
Configures the DNS resolvers (nameservers) the system uses.
- /etc/hosts
Show answerHide answer
Static hostname-to-IP mappings, checked before DNS.
- ss -tulpn
Show answerHide answer
List listening TCP/UDP sockets and the processes that own them.
- hostnamectl
Show answerHide answer
View or set the system hostname (and related metadata).
- uname -r
Show answerHide answer
Print the running kernel release/version.
- lsmod / modprobe
Show answerHide answer
List loaded kernel modules / load a kernel module.
- tar
Show answerHide answer
Archive multiple files into one (.tar); add -z for gzip, -j for bzip2 compression.
- gzip / bzip2 / xz
Show answerHide answer
Compression tools producing .gz, .bz2, and .xz files.
- ln -s
Show answerHide answer
Create a symbolic (soft) link pointing to another file or directory.
- Hard vs soft link
Show answerHide answer
A hard link is another name for the same inode; a soft link is a pointer to a path.
- find
Show answerHide answer
Search the filesystem for files by name, size, time, type, or permissions.
- locate
Show answerHide answer
Quickly find files by name using a prebuilt index (updatedb).
- chroot
Show answerHide answer
Change the apparent root directory for a process and its children (a sandbox).
Services and User Management (56)
- Package manager
Show answerHide answer
A tool that installs, updates, and removes software and resolves dependencies.
- apt
Show answerHide answer
The high-level package manager for Debian/Ubuntu; installs .deb packages.
- dpkg
Show answerHide answer
The low-level Debian package tool that operates on a single .deb file.
- dnf
Show answerHide answer
The high-level package manager for RHEL/Fedora/CentOS (successor to yum); installs .rpm.
- yum
Show answerHide answer
The older RHEL-family package manager, now succeeded by dnf.
- rpm
Show answerHide answer
The low-level package format and tool for RHEL-family distributions.
- zypper
Show answerHide answer
The high-level package manager for openSUSE/SLES (.rpm).
- apt update
Show answerHide answer
Refresh the local package index from the configured repositories (Debian/Ubuntu).
- apt install
Show answerHide answer
Install a package and its dependencies on Debian/Ubuntu (apt install <pkg>).
- dnf install
Show answerHide answer
Install a package and its dependencies on RHEL/Fedora (dnf install <pkg>).
- snap and flatpak
Show answerHide answer
Universal, sandboxed package formats that bundle dependencies and work across distros.
- Compile from source
Show answerHide answer
Build software with ./configure && make && make install.
- Repository
Show answerHide answer
A configured source of packages a package manager downloads from.
- Process
Show answerHide answer
A running instance of a program, identified by a PID with a state and owner.
- PID
Show answerHide answer
Process ID — the unique number identifying a running process.
- ps aux
Show answerHide answer
List all running processes with their owner, PID, CPU, and memory usage.
- top / htop
Show answerHide answer
Show live, interactive process and resource usage (htop is friendlier).
- kill
Show answerHide answer
Send a signal to a process by PID (default TERM = graceful stop).
- kill -9
Show answerHide answer
Send SIGKILL to forcibly terminate a process that won't stop gracefully.
- SIGTERM vs SIGKILL
Show answerHide answer
TERM (15) asks a process to exit cleanly; KILL (9) forces it immediately.
- nice / renice
Show answerHide answer
Set or change a process's CPU scheduling priority (-20 highest, 19 lowest).
- nohup
Show answerHide answer
Run a command immune to hangups so it keeps running after you log out.
- Background job (&)
Show answerHide answer
Append & to a command to run it in the background; manage with jobs, fg, bg.
- cron
Show answerHide answer
The time-based job scheduler daemon that runs jobs on a schedule.
- crontab
Show answerHide answer
A user's table of scheduled cron jobs; edit with crontab -e, list with crontab -l.
- cron fields
Show answerHide answer
Five fields: minute, hour, day-of-month, month, day-of-week, then the command.
- 0 2 * * *
Show answerHide answer
A cron schedule meaning 'run every day at 2:00 a.m.'
- systemd timer
Show answerHide answer
The modern alternative to cron for scheduling systemd units.
- at
Show answerHide answer
Schedule a command to run once at a specified future time.
- /etc/passwd
Show answerHide answer
User account records (username, UID, GID, home directory, shell) — no passwords.
- /etc/shadow
Show answerHide answer
Stores users' hashed passwords and password-aging policy.
- /etc/group
Show answerHide answer
Defines groups and their members.
- useradd
Show answerHide answer
Create a new user account.
- usermod
Show answerHide answer
Modify an existing user account (e.g. add to a group with -aG).
- userdel
Show answerHide answer
Delete a user account (use -r to also remove the home directory).
- groupadd
Show answerHide answer
Create a new group.
- passwd
Show answerHide answer
Set or change a user's password.
- id
Show answerHide answer
Show a user's UID, GID, and group memberships.
- Primary vs secondary group
Show answerHide answer
Each user has one primary group and may belong to several secondary groups.
- sudo
Show answerHide answer
Run a single command as another user (usually root) per /etc/sudoers rules.
- visudo
Show answerHide answer
Safely edit /etc/sudoers; it validates syntax so a typo can't break sudo.
- su vs sudo
Show answerHide answer
su switches to another user entirely; sudo runs one command with elevation and logs it.
- wheel / sudo group
Show answerHide answer
The group whose members are allowed to use sudo (wheel on RHEL, sudo on Debian).
- /etc/sudoers.d/
Show answerHide answer
A directory for drop-in sudoers files, kept separate from /etc/sudoers.
- Container
Show answerHide answer
A lightweight, isolated process packaging an app and its dependencies; shares the host kernel.
- Container vs VM
Show answerHide answer
Containers share the host kernel (lightweight); VMs run a full guest OS (heavier).
- Docker image
Show answerHide answer
A read-only template built from a Dockerfile; the basis for containers.
- Docker container
Show answerHide answer
A running instance of a Docker image.
- Dockerfile
Show answerHide answer
A text file of instructions used to build a Docker image.
- docker build
Show answerHide answer
Build an image from a Dockerfile.
- docker run
Show answerHide answer
Create and start a container from an image.
- docker ps
Show answerHide answer
List running containers (add -a to include stopped ones).
- docker images
Show answerHide answer
List the images stored locally.
- Docker Compose
Show answerHide answer
Define and run multi-container applications from a YAML file.
- Podman
Show answerHide answer
A daemonless, rootless container engine that is largely Docker-compatible.
- Container registry
Show answerHide answer
A store for container images (e.g. Docker Hub) that you push to and pull from.
Security (58)
- Linux permissions
Show answerHide answer
Read (r=4), write (w=2), execute (x=1) for owner, group, and others.
- rwxr-xr--
Show answerHide answer
Owner rwx (7), group r-x (5), others r-- (4) = octal 754.
- chmod
Show answerHide answer
Change a file's permission bits, numeric (754) or symbolic (u+x).
- chmod 644
Show answerHide answer
Owner read/write; group and others read-only — typical for a regular file.
- chmod 755
Show answerHide answer
Owner read/write/execute; group and others read/execute — typical for a script/dir.
- chown
Show answerHide answer
Change a file's owner (chown user file) and optionally group (user:group).
- chgrp
Show answerHide answer
Change a file's group ownership.
- umask
Show answerHide answer
Subtracts default permission bits from newly created files and directories.
- Execute bit on a directory
Show answerHide answer
Required to enter (cd into) the directory, not just read it.
- File type character
Show answerHide answer
The first ls -l character: - file, d directory, l symlink, b/c device.
- SUID
Show answerHide answer
Special bit (4) that runs a program with the privileges of its file owner (e.g. passwd).
- SGID
Show answerHide answer
Special bit (2) that runs a file as its group, or makes new files inherit a dir's group.
- Sticky bit
Show answerHide answer
Special bit (1) on a directory letting users delete only files they own (e.g. /tmp).
- chmod 4755
Show answerHide answer
Sets the SUID bit plus rwxr-xr-x.
- chmod 1777
Show answerHide answer
Sets the sticky bit plus rwxrwxrwx (the /tmp permissions).
- ACL (setfacl/getfacl)
Show answerHide answer
Access Control Lists grant fine-grained per-user/per-group permissions beyond rwx.
- chattr / lsattr
Show answerHide answer
Set/view extended file attributes (e.g. +i makes a file immutable).
- MAC
Show answerHide answer
Mandatory Access Control — a system-enforced policy users cannot override.
- DAC
Show answerHide answer
Discretionary Access Control — the file owner decides permissions (standard rwx).
- SELinux
Show answerHide answer
Label-based mandatory access control; default on RHEL-family systems.
- SELinux modes
Show answerHide answer
Enforcing (block + log), permissive (log only), and disabled.
- getenforce
Show answerHide answer
Show the current SELinux mode (Enforcing, Permissive, or Disabled).
- setenforce
Show answerHide answer
Temporarily switch SELinux between enforcing (1) and permissive (0).
- sestatus
Show answerHide answer
Show detailed SELinux status and policy information.
- restorecon
Show answerHide answer
Reset a file's SELinux context to the policy default.
- semanage
Show answerHide answer
Manage SELinux policy (ports, file contexts, booleans) persistently.
- /etc/selinux/config
Show answerHide answer
Where the persistent SELinux mode is set across reboots.
- AppArmor
Show answerHide answer
Path-based mandatory access control using profiles; default on Ubuntu/SUSE.
- AppArmor modes
Show answerHide answer
Enforce (apply the profile) and complain (log only).
- aa-status
Show answerHide answer
Show the status of loaded AppArmor profiles.
- SELinux vs AppArmor
Show answerHide answer
SELinux labels objects (RHEL); AppArmor targets program paths (Ubuntu/SUSE).
- PAM
Show answerHide answer
Pluggable Authentication Modules — the framework controlling how users authenticate.
- Least privilege
Show answerHide answer
Grant users and processes only the access they actually need.
- SSH
Show answerHide answer
Secure Shell — an encrypted protocol for remote login and file transfer.
- ssh-keygen
Show answerHide answer
Generate an SSH public/private key pair.
- authorized_keys
Show answerHide answer
The server file (~/.ssh/authorized_keys) holding clients' public keys.
- SSH key authentication
Show answerHide answer
Client proves it holds the private key matching a public key on the server.
- ssh-copy-id
Show answerHide answer
Copy your public key to a server's authorized_keys for passwordless login.
- /etc/ssh/sshd_config
Show answerHide answer
The SSH server config; harden by disabling root login and password auth.
- scp / sftp
Show answerHide answer
Copy files over SSH (scp) or transfer interactively over SSH (sftp).
- firewalld
Show answerHide answer
A dynamic, zone- and service-based firewall manager (RHEL family).
- firewall-cmd
Show answerHide answer
The command-line client for firewalld.
- ufw
Show answerHide answer
Uncomplicated Firewall — a simple front-end to iptables/nftables (Ubuntu).
- iptables
Show answerHide answer
The legacy packet-filtering framework for defining firewall rules.
- nftables
Show answerHide answer
The modern successor to iptables for packet filtering.
- Default-deny
Show answerHide answer
A firewall posture that blocks everything except explicitly allowed traffic.
- LUKS
Show answerHide answer
Linux Unified Key Setup — the standard for full-disk (block-device) encryption.
- cryptsetup
Show answerHide answer
The tool used to set up and manage LUKS-encrypted volumes.
- gpg
Show answerHide answer
GNU Privacy Guard — encrypt, decrypt, and digitally sign files.
- Hashing
Show answerHide answer
A one-way function (e.g. sha256sum) used to verify integrity, not to encrypt.
- TLS certificate
Show answerHide answer
Secures a service's traffic in transit and authenticates its identity.
- Defense in depth
Show answerHide answer
Layer multiple controls (permissions, MAC, firewall, encryption) so one failure isn't fatal.
- fail2ban
Show answerHide answer
Monitors logs and bans IPs after repeated failed login attempts.
- Public vs private key
Show answerHide answer
Encrypt/verify with the public key; decrypt/sign with the private key.
- MFA
Show answerHide answer
Multi-factor authentication — combine something you know, have, and/or are.
- getfacl / setfacl
Show answerHide answer
View and set Access Control Lists for fine-grained per-user permissions.
- setsebool
Show answerHide answer
Toggle an SELinux boolean to allow or deny optional policy behavior.
- Open a port in firewalld
Show answerHide answer
firewall-cmd --add-service=http --permanent, then --reload.
Automation, Orchestration and Scripting (49)
- Shebang
Show answerHide answer
The first script line (#!/bin/bash) naming the interpreter that runs the file.
- Make a script executable
Show answerHide answer
chmod +x script.sh, then run it with ./script.sh.
- Variable (Bash)
Show answerHide answer
name="value" with no spaces; reference it as $name or "$name".
- Exit code ($?)
Show answerHide answer
The status of the last command: 0 = success, non-zero = error.
- if statement (Bash)
Show answerHide answer
if [[ condition ]]; then ... fi — runs commands when the test is true.
- test / [[ ]]
Show answerHide answer
Evaluate a condition (file checks, numeric/string comparisons) for if and while.
- for loop (Bash)
Show answerHide answer
for f in *.log; do ... done — iterate over a list of items.
- while loop (Bash)
Show answerHide answer
while [[ condition ]]; do ... done — repeat while the test stays true.
- until loop (Bash)
Show answerHide answer
until [[ condition ]]; do ... done — repeat until the test becomes true.
- case statement
Show answerHide answer
Match a variable against patterns — a cleaner multi-way branch than nested ifs.
- Pipe ( | )
Show answerHide answer
Send one command's standard output as the next command's standard input.
- Redirection > and >>
Show answerHide answer
> writes output to a file (overwrite); >> appends to it.
- Input redirection ( < )
Show answerHide answer
Feed a file's contents to a command as standard input.
- 2>&1
Show answerHide answer
Redirect standard error to the same place as standard output.
- grep
Show answerHide answer
Search text for lines matching a pattern (regular expression).
- grep -i / -r / -v
Show answerHide answer
Ignore case / search recursively / invert the match.
- sed
Show answerHide answer
A stream editor for filtering and transforming text (e.g. find-and-replace).
- awk
Show answerHide answer
A text-processing language for working with columns and fields.
- cut / sort / uniq
Show answerHide answer
Extract columns / sort lines / collapse or count duplicate lines.
- Command substitution
Show answerHide answer
$(command) inserts a command's output into another command or variable.
- && and ||
Show answerHide answer
&& runs the next command only if the previous succeeded; || only if it failed.
- Positional parameters
Show answerHide answer
$1, $2, ... are a script's arguments; $0 is the script name, $# the count.
- Function (Bash)
Show answerHide answer
name() { commands; } — group reusable commands into a callable block.
- trap
Show answerHide answer
Catch signals (e.g. EXIT, INT) in a script to run cleanup before exiting.
- Globbing
Show answerHide answer
Shell wildcards: * (any chars), ? (one char), [abc] (a character set).
- read
Show answerHide answer
Read a line of input into a variable, often for interactive scripts.
- echo / printf
Show answerHide answer
Print text to standard output (printf gives precise formatting).
- Git
Show answerHide answer
A distributed version-control system tracking changes via commits, branches, merges.
- git clone
Show answerHide answer
Copy a remote repository to your local machine.
- git add
Show answerHide answer
Stage changes so they'll be included in the next commit.
- git commit
Show answerHide answer
Save a snapshot of staged changes (git commit -m "message").
- git push / git pull
Show answerHide answer
Send commits to the remote / fetch and merge from the remote.
- git branch / checkout
Show answerHide answer
Create branches and switch between them to work in isolation.
- git merge
Show answerHide answer
Combine the changes from another branch into the current one.
- git status / git log
Show answerHide answer
Show the working-tree state / view the commit history.
- Kubernetes
Show answerHide answer
An orchestrator that automates deploying, scaling, and managing containers.
- Ansible
Show answerHide answer
An agentless automation tool using YAML playbooks pushed over SSH.
- Idempotency
Show answerHide answer
Running an automation repeatedly yields the same end state, changing only what differs.
- Ansible playbook
Show answerHide answer
A YAML file describing the desired state as a series of tasks.
- Ansible inventory
Show answerHide answer
A file listing the hosts (and groups) Ansible manages.
- Ansible module
Show answerHide answer
A reusable unit of work (e.g. apt, copy, service) a task invokes.
- Puppet
Show answerHide answer
An agent-based configuration-management tool using a declarative language.
- Chef
Show answerHide answer
An agent-based configuration-management tool using Ruby 'recipes'.
- Terraform
Show answerHide answer
A declarative infrastructure-as-code tool that provisions infrastructure.
- IaC
Show answerHide answer
Infrastructure as Code — manage systems with version-controlled config files.
- cloud-init
Show answerHide answer
Initializes a cloud instance on first boot (users, keys, packages, scripts).
- YAML
Show answerHide answer
A human-readable data format (indentation-based) used by Compose, Ansible, and Kubernetes.
- Environment variable
Show answerHide answer
A named value in the shell environment (export NAME=value) available to processes.
- alias
Show answerHide answer
Create a shortcut for a longer command (alias ll='ls -la').
Troubleshooting (56)
- Troubleshooting methodology
Show answerHide answer
Identify, theorize, test, plan, implement/escalate, verify, document.
- First step of troubleshooting
Show answerHide answer
Identify the problem — gather info, question users, find what changed.
- Last step of troubleshooting
Show answerHide answer
Document the findings, actions, and outcomes.
- Read the logs first
Show answerHide answer
journalctl (systemd), /var/log (text logs), and dmesg (kernel) before theorizing.
- df -h
Show answerHide answer
Find which filesystem is full (human-readable disk usage).
- du -sh *
Show answerHide answer
Find which directory is consuming the space (sort with | sort -h).
- df -i
Show answerHide answer
Check inode usage — a disk can be 'full' of inodes with free space remaining.
- Inode
Show answerHide answer
A filesystem structure storing a file's metadata; exhaustion blocks new files.
- Deleted-but-open file
Show answerHide answer
Space isn't freed until the holding process closes; find it with lsof | grep deleted.
- fsck
Show answerHide answer
Check and repair a filesystem — run only on an unmounted filesystem.
- Disk full troubleshooting
Show answerHide answer
df -h to find the filesystem, du to find the directory, df -i for inodes.
- logrotate
Show answerHide answer
Rotates and compresses logs so /var/log doesn't fill the root filesystem.
- ping
Show answerHide answer
Test reachability and round-trip time to a host using ICMP.
- traceroute / mtr
Show answerHide answer
Show the per-hop path to a destination to find where traffic stops.
- dig / nslookup
Show answerHide answer
Test DNS name resolution.
- Ping by IP but not name
Show answerHide answer
Connectivity works but DNS is broken — a name-resolution problem.
- tcpdump
Show answerHide answer
Capture and inspect network packets for deep analysis.
- ss / netstat
Show answerHide answer
List sockets/connections and listening ports (ss is the modern tool).
- No IP address
Show answerHide answer
Points to a DHCP failure or interface misconfiguration.
- Can't reach the gateway
Show answerHide answer
A local connectivity or routing problem (check ip route).
- top / htop
Show answerHide answer
Show live CPU, memory, load average, and per-process resource usage.
- Load average
Show answerHide answer
Average processes wanting CPU over 1, 5, 15 minutes; compare to core count.
- High load average
Show answerHide answer
A value well above the core count means processes are queuing for CPU.
- free -h
Show answerHide answer
Show total, used, available memory and swap in human-readable form.
- vmstat
Show answerHide answer
Report virtual memory, CPU, and system activity (including swap usage).
- iostat
Show answerHide answer
Report CPU and per-device disk I/O statistics to find I/O bottlenecks.
- sar
Show answerHide answer
Collect and report historical system activity (CPU, memory, I/O) over time.
- uptime
Show answerHide answer
Show how long the system has run and the 1/5/15-minute load averages.
- Zombie process
Show answerHide answer
A finished process not yet reaped by its parent; shows a Z state, harmless but a bug sign.
- Orphan process
Show answerHide answer
A running process whose parent died; it's re-parented to PID 1 (systemd).
- Process state D
Show answerHide answer
Uninterruptible sleep — usually blocked on disk or network I/O.
- OOM killer
Show answerHide answer
The kernel terminates a process under severe memory pressure to recover.
- Find OOM events
Show answerHide answer
Look in dmesg or the journal for 'Out of memory' / 'Killed process' messages.
- dmesg
Show answerHide answer
Display the kernel ring buffer — hardware, driver, and boot messages.
- lsof
Show answerHide answer
List open files and the processes holding them (e.g. what holds a port or deleted file).
- strace
Show answerHide answer
Trace the system calls a process makes — useful for diagnosing hangs and failures.
- kill / pkill
Show answerHide answer
Send a signal to stop a process by PID (kill) or by name (pkill).
- Service won't start
Show answerHide answer
Check systemctl status <svc> and journalctl -u <svc> for the failure reason.
- Permission denied (despite rwx)
Show answerHide answer
Suspect SELinux/AppArmor — check the audit log and contexts.
- ausearch / audit2allow
Show answerHide answer
Search SELinux audit denials and suggest a policy to allow them.
- Swapping / thrashing
Show answerHide answer
Heavy swap use slows the system; check free -h and vmstat for swap activity.
- Boot failure: GRUB
Show answerHide answer
An error at the GRUB stage points to the bootloader or its config.
- Boot failure: kernel panic
Show answerHide answer
The kernel can't continue (often a missing root or initramfs issue).
- Cannot mount filesystem
Show answerHide answer
Check /etc/fstab, the device/UUID, and run fsck if corrupted.
- nice value too high
Show answerHide answer
A process set to a low priority (high nice) may run slowly under contention.
- Check listening ports
Show answerHide answer
ss -tulpn shows which ports are open and which process owns each.
- DNS misconfigured
Show answerHide answer
Check /etc/resolv.conf and test with dig; the resolver may be wrong or down.
- Time out of sync
Show answerHide answer
Check the NTP/chrony service; clock skew breaks TLS, Kerberos, and logs.
- High CPU one process
Show answerHide answer
Identify it in top/htop, then renice, fix, or kill the runaway process.
- Read-only filesystem
Show answerHide answer
Often a sign of filesystem errors; the kernel remounts ro to protect data — check dmesg.
- mtr
Show answerHide answer
Combines ping and traceroute into a continuous per-hop network diagnostic.
- Cannot resolve hostname
Show answerHide answer
Test with dig/nslookup; fix /etc/resolv.conf or the upstream DNS server.
- watch
Show answerHide answer
Re-run a command at intervals to watch a value change (e.g. watch df -h).
- journalctl -p err
Show answerHide answer
Filter the journal to error-priority (and worse) messages.
- Quota exceeded
Show answerHide answer
A user hit a disk quota; check with quota and repquota, then adjust or clean up.
- uptime load > cores
Show answerHide answer
More demand than CPUs — investigate top CPU, memory pressure, or blocked I/O.
References
- 1.CompTIA. “Linux+ (XK0-006) Certification Exam Objectives.” comptia.org. ↑
- 2.Linux Foundation. “Filesystem Hierarchy Standard 3.0.” refspecs.linuxfoundation.org. ↑
- 3.The Linux man-pages project. “Linux man-pages (commands & files).” man7.org. ↑

Career Employer
Career Employer is the ultimate resource to help you get started working the job of your dreams. We cover topics from general career information, career searching, exam preparation with free study materials, career interviewing, and becoming successful in your career of choice.
All PostsCareer Employer’s Editorial Process
Here at Career Employer, we focus a lot on providing factually accurate information that is always up to date. We strive to provide correct information using strict editorial processes, article editing, and fact-checking for all of the information found on our website. We only utilize trustworthy and relevant resources. To find out more, make sure to read our full editorial process page here.
