Command Line Glossary
Rigorous mathematical, asymptotic, and mechanical definitions across all 18 modules.
The bash option that makes an interactive shell read a named file instead of ~/.bashrc, which is useful for testing a startup file safely.
A special device that accepts and discards all data written to it, used to silence a stream while keeping the exit status.
A virtual file system in which the kernel generates a directory for each process, with files such as status and cmdline.
A file in the proc filesystem that holds the environment block a process was started with, separated by null bytes.
A link inside /proc that points at the directory of the process that opens it, so a program can read its own state without knowing its PID.
The user startup file that a login shell reads. It is often written to load ~/.bashrc so that both shell kinds get the same settings.
The startup file that a non-login interactive bash reads. Settings for aliases, functions, options, and the prompt usually belong here.
A path that begins with a slash, so the kernel starts the walk at the root and names the same file from any directory.
The socket call that takes one completed connection from the queue and returns a new socket for that client.
An extra set of entries on a file that grants access to named users or groups beyond the owner, group, and other classes.
The timestamp of the last read of a file's contents. Most filesystems update it lazily, so it is a rough signal.
The part of a sed command that selects which lines it applies to, given as a line number, $ for the last line, or a regex between slashes.
A kernel feature that places the stack, heap, and libraries at different addresses on each run, which makes memory layouts harder to predict.
Identical lines that sit next to each other in the input. uniq only merges or counts adjacent duplicates, so its input must be sorted first.
A short name that an interactive shell replaces with a piece of text before parsing the line. Aliases are checked before functions and builtins.
Replacement of an alias name with its defined text while the shell reads a line. Bash enables it by default only in interactive shells.
The number of bytes of disk blocks a file actually uses, as ls -s reports. It can be much smaller than the logical size of a sparse file.
A filter design that permits only listed traffic and denies everything else, which is safer for servers.
The ${var:+word} form that produces word only when var is set and not empty, which is useful for optional flags.
The jq // operator, which returns its right side when the left side is null or missing, so it can supply a fallback.
A regex element that matches a position rather than a character. The caret matches the start of a line and the dollar sign matches the end.
A pattern that must match at the start of a value, written with a number sign after the first slash, or at the end, written with a percent sign.
A memory region in /proc/PID/maps with no pathname, which holds memory that is not backed by a file, such as much of the heap.
The $'...' form, which processes backslash escapes such as \t, \n, and \x41 before the word is used.
The size of file data as a program sees it, in bytes, as opposed to the number of storage blocks the file occupies. Sparse files show a large apparent size with few blocks.
A command, equivalent to man -k, that searches the one-line NAME descriptions of man pages for a keyword and lists the matching pages with their sections.
One entry inside a tar archive, such as a file or directory. Members are listed with tar -t and extracted with tar -x.
The rsync -a option that copies recursively and preserves permissions, times, and links.
Creating a new backup on each run and deleting the oldest backups so that only the newest N are kept.
The list of command words kept as "$@", which passes each argument exactly once without splitting or globbing.
The value of $#, which holds the number of arguments the script received, not counting $0.
The argument vector: the array of strings a program receives from execve, with argv[0] usually holding the name the program was started under. The kernel passes it unchanged.
The (( expression )) form used as a command, whose exit status is 0 for a nonzero result and 1 for zero.
The $((expression)) form, which evaluates integer arithmetic inside the shell and replaces itself with the decimal result.
The exit status of an arithmetic command such as (( expr )), which is 1 when the value of expr is zero and 0 otherwise.
The quoted form "${name[@]}" that produces one word per element, as opposed to the star form that joins all elements into one word.
A bash array indexed by strings rather than numbers, declared with declare -A. It is used to map a checksum to the first file that had it.
A utility that runs one job at a set time from a managed queue, which is not installed on this lab machine.
A rename within one filesystem that changes the directory entry in a single step, so other processes see either the old name or the new one.
The estimate of how much memory a new program could get without swapping, including reclaimable cache.
A regex element such as \1 that matches the same text an earlier group matched, which needs a slower matcher than a plain automaton.
A reference such as \1 or \2 in a sed replacement that inserts the text matched by an earlier group in the pattern.
The older `command` substitution syntax, which the $(command) form replaces because it nests more cleanly.
A directory inside the destination, here named .dotfiles-backup, that holds the original files an installer moved aside before linking.
The base#digits notation, such as 16#ff, that tells bash which base to use for a number.
The first timing of a pipeline, kept so that every later change can be compared with it.
The option that makes bash read a script and check its syntax without executing any of its commands.
A variable that names a file for bash to read before running a non-interactive script.
A bash extension, such as [[ ]], arrays, or process substitution, that does not work in a strictly POSIX shell.
The default regex dialect of grep and sed, in which grouping, interval, plus, question mark, and alternation are literal characters unless written with a backslash.
A utility that runs one job when the system load drops below a threshold, often paired with at.
Special awk rules that run once before the first input line and once after the last, used to set up headers and print totals.
The local address a server attaches its socket to, which decides whether it accepts connections from only the machine or from every interface.
A mount that makes an existing directory appear at a second place in the tree, without copying its files.
A device the kernel reads and writes in fixed-size blocks, such as a disk, a USB stick, or a loop device made from a file. It has no names or files of its own until a filesystem is written onto it.
A textual expansion of a list such as {a,b} or a range such as {1..5} into separate words, performed before globbing and without checking the file system.
A set of characters written in square brackets, such as [0-9] or [[:digit:]], that matches any one character from the set.
A git name that holds one commit identifier and moves forward when you commit on it.
A command implemented inside the shell itself, such as cd, export, or printf. It runs without starting a child process, so it can change the shell state.
Several single-letter options written together, such as -vn, which getopts reads as separate options in order.
A single program that provides a shell and many common utilities, often built as a static binary for small root filesystems.
A small POSIX shell that is often the sh on minimal Linux systems, including the lab machine.
Three bytes, EF BB BF, that some editors write at the start of a UTF-8 file. They can break scripts whose first line must be a hash-bang.
The default tty mode in which input is delivered one edited line at a time, after Enter is pressed.
The absolute form of a path with dot segments and symbolic links resolved. The realpath tool produces it.
A Linux capability that lets a process skip the owner, group, and other checks for reading and writing. Root holds it, and ordinary accounts do not.
A part of root privilege, such as the right to create namespaces or change the root directory. A process can hold some capabilities without holding all of them.
The caret and comma forms of parameter expansion that change the case of the first letter or of all letters, and the tilde form that toggles them.
A statement that matches one value against glob patterns, runs the first matching branch, and ends with the keyword esac.
A colon-separated list of directories that bash searches when a relative name given to cd does not start with ./ or /.
A control group, which is a set of processes whose CPU, memory, process count, or I/O use is measured and limited together.
An ordered list of firewall rules that packets are checked against at one point in their path.
The time the inode last changed, including changes to permissions and link count. It is not the creation time.
A named set of characters written as [:name:] inside a bracket expression, such as [:digit:], [:space:], or [:upper:], that stays portable across locales.
The number of characters in a value, given by ${#name}. An unset variable has length zero.
A one-based column number that cut -c uses to select characters from each line, instead of selecting fields by delimiter.
A short fingerprint computed from the bytes of a file. If any byte changes, the fingerprint changes, so comparing fingerprints detects damage or change.
The command that changes the group of a file. The owner may choose any group that the owner belongs to.
A process created by another process. It starts with a copy of the parent's memory, environment, working directory, and file descriptors.
The command that changes the permission bits of a file. Only the owner or root may change the mode of a given file.
The command that changes the owner of a file, and with a colon also its group. Only root may hand a file to another user.
A system call and a command that change the root directory seen by a process and its children. It does not change mounts and is not a security boundary.
A trap on EXIT that removes temporary files, directories, or locks, so that every exit path leaves the system tidy.
Data sent without encryption, which anyone on the network path can read, as nc does by default.
The file /proc/PID/cmdline, which holds the arguments a process was started with, separated by NUL bytes.
The rules that decide the order of strings in sort. The C locale uses byte order, while language locales may interleave upper and lower case.
A case where the target name of a rename already exists, which a safe script detects and skips instead of overwriting.
The form of a parameter expansion with a colon, which treats an empty value the same as an unset one. The form without the colon checks only for unset.
Padding that column -t adds so that values in each field line up under each other, intended for reading rather than for other programs.
Formatting that pads each field to the width of the widest value in its column, used by column -t for readable tables.
A way to ask the shell what it would run for a name. For external programs it prints the full path to the file.
The order bash uses to resolve a name: alias, function, builtin, reserved word, then program on PATH.
The $(command) form, which runs a command and replaces the expansion with its standard output.
The subshell that runs the commands inside $(...). By default it does not inherit set -e in bash.
Text after a hash sign that bash ignores up to the end of the line. The shebang is a comment to bash, although the kernel reads it.
A git snapshot of the project with a parent link to the previous commit and an author.
The set of all characters not in a given set, selected with tr -c so that the following deletion or translation applies to everything else.
Joining several inputs one after another into a single output. cat does it by copying the bytes of each file in order.
The stages of a pipeline run at the same time, so their individual times do not add up to the total.
Any command whose exit status an if, while, or until statement tests. Zero means true, and any other status means false.
A script generated by autoconf that checks the machine for compilers and libraries and writes the Makefile.
The error returned when a connection reaches the host but nothing listens on the port.
An ordinary process, or group of processes, with its own namespaces, a cgroup, a root filesystem, and often a system call filter.
The first process of a container, which the host sees as an ordinary PID and which often has a parent that belongs to the container runtime.
Lines printed before or after a grep match, requested with -B, -A, or -C, so that a match can be read in its surroundings.
A file inside a cgroup directory that reads or sets a value for the group, such as memory.max for a memory limit or cgroup.procs for the member PIDs.
The overlay step that copies a file from a lower layer into the upper layer before the first write to it, so the lower copy stays unchanged.
The archive form of cp, shorthand for -dR --preserve=all. It copies a tree recursively, keeps links as links, and preserves modes, timestamps, and ownership where allowed.
A line ending made of a carriage return and a line feed, used by Windows text. Unix tools usually expect a single line feed.
The cron daemon that wakes each minute, reads the schedule tables, and starts the commands whose time has come.
A table of schedule lines, each with five time fields and a command, that the cron daemon reads to run jobs.
A move between two filesystems, which mv performs by copying the data and then removing the source, because an inode cannot change devices.
A symbolic link whose target does not exist. The link itself still exists and can be listed, but reading through it fails.
The cron rule that runs a job when either restricted day field matches, rather than when both match.
The catch-all pattern *) in a case statement, placed last so that it runs only when no earlier pattern matches.
The ${var:-word} form that produces word when var is unset or empty, without changing var.
The mode a program requests when it creates an object, usually 0666 for regular files and 0777 for directories, before the umask is applied.
The ${1:-} form that substitutes an empty string when a parameter is unset, which avoids an error under set -u.
The action a firewall chain takes for a packet that matches none of its rules, typically accept or drop.
The route 0.0.0.0/0 that matches every destination no other route matches, usually pointing at a router.
The ${name:-word} form, which produces word when name is unset or empty and leaves name unchanged.
A parenthesized group run in the background with an ampersand that sleeps and then runs a command, collected later with wait.
The kernel cache of recent path lookups, which makes repeated lookups of the same names fast.
The rule that a child process receives a copy of its parent's open file descriptors across fork, so the standard streams set by the shell are available to the program.
A state machine that moves to the next state with one table lookup per input byte. GNU grep compiles most regexes into one for fast matching.
A file in /dev that connects a name to a kernel driver through major and minor numbers. /dev/null discards its input.
A tool that reports the total, used, and available space of a mounted filesystem by asking the filesystem itself, without walking the files.
A value made with a private key that anyone can verify with the matching public key. It proves who produced the data, which a plain checksum cannot.
One record in a directory that maps a name to an inode number. The directory is a table of these records.
The error rmdir reports when asked to remove a directory that still holds entries. It protects scripts from deleting unknown contents.
The kernel operation that returns the names in a directory in batches, in the order the filesystem stores them.
The classic Unix model in which the owner of an object decides, through its mode, who may access it.
A bash builtin that removes a job from the shell job table, so the shell no longer forwards SIGHUP or lists it.
The pattern of choosing one piece of work from a set based on a value, usually with a case statement on the subcommand word.
The number of different values that appear in a field, found in awk by storing each value as a key and counting the keys in the END block.
The builtin written as a single period, which runs a file in the current shell so that its variables, aliases, and functions remain afterward.
A file whose name starts with a dot, such as .bashrc or .vimrc, which programs usually keep in the home directory.
A shell option that makes wildcards match names that start with a dot, which includes hidden files.
Quotes that stop word splitting and globbing while still allowing parameter, command, and arithmetic expansion.
The [[ ]] form, a bash keyword that does not split or glob its operands and supports == patterns, =~ regular expressions, and && inside the brackets.
The low-level Debian package tool that unpacks a single package and keeps the status database that apt uses.
A mode that reports the actions a script would take without performing them, so the preview can be checked before any file changes.
A tool that adds up the size of the files under a path by walking the directory tree. Its numbers describe a tree, not the whole filesystem.
A system call that copies one open file descriptor onto a chosen number, closing the target first if needed. The shell uses it to apply redirections in a child process.
The program that maps a dynamic executable's shared libraries and connects their symbols before main runs.
A scoping rule in which a called function sees the local variables of the functions that called it, following the call stack rather than the source text.
The error that execve returns when the arguments and environment together are too large for the kernel to place on the new stack.
The UID the kernel uses for permission checks in a process. For a setuid program it is the owner of the file, while the real UID stays the same.
The user ID the kernel checks when a process accesses a file. It can differ from the real user ID for a setuid program.
The path recorded in an ELF executable that names the dynamic loader the kernel must start before the program.
A keyword that adds another condition to an if statement. The conditions are tested in order, and only the first true branch runs.
A variable or array element that is set but holds the empty string, which the -v test still treats as set.
The -- argument, which tells a utility that every following argument is an operand, even if it begins with a dash.
The error name a failed system call reports when a path does not name an existing file or directory.
The error that execve returns when a file has no recognized format, such as a file with no shebang. Bash then runs the file as a shell script.
The C library array of environment strings in a running process. Functions such as getenv search it, and the kernel fills it at exec time.
The list of NAME=value strings that bash passes to each new program. It contains only the exported variables.
The array of environment strings that the kernel receives in execve and copies into the new process.
A count of seconds since 1 January 1970 in UTC. Scripts use it because it is a plain integer that does not depend on the time zone.
The = operator in a symbolic mode, such as u=rw, which sets a class to exactly the named permissions and clears the others in that class.
A compressed, read-only filesystem designed for system images, such as the distro image mounted in the lab.
The bash option set -e, or set -o errexit, that makes a script exit when a simple command returns a non-zero status outside the exempt contexts.
The error code a failed system call leaves for the C library, with names such as ENOENT for a missing file and EACCES for permission denied. Tools turn these codes into the messages you read.
The backslash, which makes the next character literal when it appears outside single quotes.
The line-oriented command mode of vim, which reads commands without a full screen. vim -es runs it silently for scripts.
A lock that only one open file description can hold at a time, so a second holder must wait or fail.
The shell builtin that replaces the shell itself with a program, so the rest of the script never runs.
The file permission that chmod +x sets, which lets a script run as a command.
The x bit in a file mode. Without it, the file cannot be started by its path, and running it that way fails with Permission denied and status 126.
A system call that replaces the memory image of the calling process with a new program while keeping its process ID.
A place where set -e does not stop the script, such as the condition of if or while, the left side of && or ||, or a command inverted with !.
A trap condition that runs once when the shell is about to exit, whether it ends normally, calls exit, or stops on a failure.
The number a finished command reports through $?. Zero means success, 1 to 125 are failures, 127 means not found, and 128 plus N means the process was killed by signal N.
The status grep returns when no line matched the pattern. Status 0 means a match was found and status 2 means an error occurred.
The status a command returns when bash finds a file but cannot execute it, usually because the execute permission is missing.
The status a command returns when bash cannot find the name in any place it searches, which includes the directories listed in PATH.
The status a shell reports for a process killed by signal N, so SIGTERM shows as 143 and SIGINT as 130.
The status a script returns for a usage error. The build spec uses it when the argument count is wrong.
The convention of exiting with status 2 when a script receives wrong arguments, so callers can tell misuse from a failed operation.
The convention, used by this build spec, of returning 2 when a script is called with a missing or unreadable argument.
In a plain assignment, the status that bash reports is the status of the last substitution performed.
A step in which bash replaces a word with other text, such as a variable value, a command output, a brace list, or a glob match.
A pause that doubles after each failed restart, so a crashing program does not consume the CPU while it keeps failing.
The bash builtin that marks a variable so that it is copied into the environment of programs started afterward.
A regex dialect, selected with grep -E or sed -E, in which the operators plus, question mark, bar, parentheses, and braces are special without a backslash.
The per-process array of open file references, indexed by descriptor number. Forked children get a copy that refers to the same open files.
One of the words that results from splitting, which can be empty when a non-whitespace IFS character appears twice in a row.
An awk condition such as NF >= 9 that keeps only records with enough fields, so short or blank lines never reach the counters.
The single character that separates fields in a line of text, set with cut -d and used by default by awk as whitespace runs.
The awk variable, set with -F or in BEGIN, that holds the regular expression used to split each record into fields.
The minimum number of characters a printf conversion occupies, set by a number such as 8 in %-8s. A minus sign left-aligns the value.
A small integer that a process uses as a handle to an open file, pipe, or terminal. It indexes the kernel's per-process table, and 0, 1, and 2 are standard input, output, and error.
The UID recorded on a file, which selects the owner triplet for any process whose effective UID matches it.
The first character of an ls -l line. A hyphen marks a regular file, d marks a directory, and l marks a symbolic link.
Replacing an unquoted pattern such as *.txt with the names in the current directory that match it. Also called globbing.
The unit of space a filesystem allocates for data. An inode points at the blocks that hold a file's contents.
The widely followed convention that assigns jobs to top-level directories, such as /usr for programs, /etc for configuration, and /var for changing data.
A program that reads standard input, transforms each line, and writes standard output, so that it can sit in the middle of a pipeline.
The line break that must end a crontab file, because some implementations ignore a last line that lacks one.
A find test that matches files by mode. A leading minus, as in -perm -002, means that at least the named bits must be set.
An option of the auditor that prints the chmod command for each finding without running it, so a reviewer can approve each change first.
A pattern that grep treats as literal text, with no special characters, selected with the -F option.
A util-linux utility that takes a kernel-managed lock on a file, attached to an open file descriptor and released when the process exits.
A way of reading a file that keeps it open and prints new lines as they are appended. tail -f and the F key in less use it.
A loop that runs its body once for each word in a list, including the words produced by a glob, a command substitution, or the positional parameters.
The awk loop for (key in array) that visits each subscript of an associative array, in an order POSIX does not define.
The set of processes that the terminal is currently connected to, which receives keyboard signals such as SIGINT.
A system call that creates a child process as a copy of the caller. Bash uses it to start external programs without replacing itself.
The first argument to printf, which holds plain text and conversion specifications. The format is reused when there are more arguments than conversions.
A backup that copies every file in the set. It starts a chain, and each incremental backup depends on the full backup and the snapshots that follow it.
A named block of shell commands defined as name() { ...; } and called like a command. It runs in the current shell.
The system call that returns batches of directory entries, each with an inode number, a type, and a name.
A bash builtin that parses short options for shell functions and scripts, storing the current option in a variable and any option-argument in OPTARG.
The numeric group ID that the kernel uses for group permission checks. A process has one effective GID and may also carry a list of supplementary group IDs.
A pattern with wildcards that the shell expands to matching names before the command runs, such as the asterisk in dir/*.
An unquoted word on the right side of == inside double brackets, which bash matches against the left side as a shell pattern such as *.log.
A shell variable that is not declared local, so it is visible to the whole script and remains after a function returns.
A tar file compressed with gzip, usually named with a .tar.gz suffix, which holds a directory tree in one file.
The three-packet exchange that TCP performs before a connection is established, done by the kernel during connect.
The ceiling for a resource limit, which only a privileged process may raise.
A second directory entry that points at the same inode. Both names are equally valid, and the link must stay on one filesystem.
The cache bash keeps of program paths it has already found through PATH. The hash builtin lists it, and hash -r clears it.
The git pointer that says which branch is checked out, and so which commit a new commit uses as its parent.
A test that decides whether a newly deployed release is working, here the presence of an ok file in the release directory.
A block of text supplied as standard input to a command, written with << and ended by a line that matches the delimiter. Expansion is off when the delimiter is quoted.
A single expanded word supplied as standard input with <<<, followed by a newline. It avoids creating a file for a short input.
A name that starts with a dot. ls hides it unless you ask for it with -a or -A.
Shortcuts such as the double exclamation mark that rewrite a line from earlier history before it runs.
A section of ~/.ssh/config that starts with a Host line and gives an alias its HostName, User, Port, and IdentityFile.
An HTTP request with a Range header that asks for part of a resource. A server that supports it replies 206 Partial Content with only those bytes.
A property of an operation that gives the same result when repeated. A safe installer is idempotent because a second run leaves correct links alone.
The ssh option that limits the client to offering the keys named in the config, instead of every key it holds.
The internal field separator, a shell variable that lists the characters used for word splitting; unset means space, tab, and newline.
A backup that copies only the files changed since the previous backup in the chain, using a snapshot file to remember what was saved before.
The git area that holds the content for the next commit, filled by git add and read by git commit.
A bash array whose elements are addressed by integer indices that start at zero, created with name=(...).
A longer GNU manual in the info format, read with info and navigated with keys such as n, p, u, and Enter. The coreutils manual is published in this format and online.
A shopt option that makes command substitutions inherit the set -e setting from the parent shell instead of clearing it.
A settings file made of sections in square brackets and key = value lines, used by many programs for configuration.
A table file that lists the boot tasks and the programs the init system keeps running, with fields for id, runlevels, action, and command.
The kernel object that holds a file's metadata and the locations of its data. A name refers to an inode through a directory entry.
The readline settings file, usually in the home directory, that sets variables and key bindings.
The local record a package manager keeps of installed packages, their versions, and their files. On Alpine it is /lib/apk/db/installed.
Division that discards the fraction and rounds toward zero, so the result of -7 / 2 is -3.
A shell with a person at the prompt. Its option flags in $- include the letter i, and it reads ~/.bashrc when it is not a login shell.
A kernel attachment point for a network, such as a card, a virtual pair, or the loopback device, which has a name and a state.
The program that reads a script and runs its commands, such as bash. The shebang line or the command you type chooses which interpreter runs the file.
The shell feature that moves jobs between the foreground and background and stops or resumes them with Ctrl-Z, fg, and bg.
The list of jobs that one interactive shell tracks, which jobs and fg use to find a job by number.
A browser feature that lets synchronous WebAssembly code pause and wait for asynchronous browser work, such as fetching disk blocks, then resume.
The fixed-size in-memory log where the kernel writes its messages, which dmesg prints and which is cleared at reboot.
The privileged mode and memory where kernel code runs with full access to hardware. User programs run in user space and must ask the kernel through system calls.
The string in the subscript of an associative array, such as apple in m[apple]. Keys with spaces must be quoted.
The default locale variable. It applies to every category that is not overridden by LC_ALL or by a specific LC_* variable.
The locale variable with the highest priority. When it is set and not empty, it overrides every LC_* category variable and LANG.
The locale category that decides how bytes are read as characters, including whether a multibyte sequence counts as one character.
An environment variable that adds directories to the loader search path for programs started from the shell that sets it.
A command that prints the shared libraries a dynamic program needs and the path where the loader found each one.
A backslash at the end of a line, which bash removes along with the newline so that the two lines form one command.
The kernel component attached to a tty that handles editing, echo, and control-key signals between the master and the slave.
A bash variable that holds the line number of the command currently being run in the script.
The number of directory entries that refer to an inode. The data is freed only when the count is zero and no process has the file open.
The socket call that marks a bound socket as passive and ready to accept connections.
The mode in which nc waits for one incoming connection on a port, selected with -l and -p in the BusyBox version.
The state of a TCP socket that is waiting for incoming connections.
A quoted string used in a pattern position, which matches its own characters rather than acting as a wildcard.
A fixed string that every match of a regex must contain, which grep can search for first to reject most lines cheaply.
The average number of runnable and waiting processes over one, five, and fifteen minutes, compared against the core count.
The sequence of places the dynamic loader checks for a library, such as RPATH, LD_LIBRARY_PATH, RUNPATH, and the system directories.
A bash builtin used inside a function to create a variable that is visible only inside that function and its calls.
A variable declared with the local builtin that exists only during one function call and is visible to functions that function calls.
The set of language and region rules a program uses for character classes, collation, number formats, and messages. It is chosen through environment variables.
The rules a program uses to order strings in the current locale. ls sorts names with them.
The $"..." form, which looks up a translated message for the current locale and otherwise behaves like double quotes.
Renaming a log file and starting a new one with the old name, so that logs do not grow without bound. tail -F is built for it.
A background program such as syslogd or syslog-ng that receives messages from programs and sorts them into log files.
The path a shell tracks as the current directory, including the names of any symbolic links you passed through.
A shell that is the first shell of a session, such as one started by a console login or an SSH session. It reads the profile files.
The ls -l output that shows type, permissions, link count, owner, group, size, time, and name for each entry.
A GNU-style option written with two hyphens and a word, such as --color=never. A required value can follow an equals sign or the next word; scripts should use the equals form.
The hash table in which bash remembers the full path of commands it has already found. The hash builtin lists it and hash -r clears it.
The interface lo and the 127.0.0.0/8 range, which carry traffic from a machine to itself without leaving it.
Compression whose output decompresses to exactly the original bytes. gzip and xz are both lossless, and they differ in ratio, speed, and memory use.
The read-only layer of an overlay root. In this course's machine it is a disk image, and no process can change it.
The system call that returns the metadata of a path without following a final symbolic link.
A fixed sequence of bytes near the start of a file that identifies its format. The gzip signature starts with 1f 8b.
The two numbers in a device file that select the kernel driver and the particular device that driver manages.
The recipe file that make reads to decide which commands to run and in which order.
The numbered category of a man page, such as 1 for user commands, 2 for system calls, or 3 for library functions. The same name can appear in several sections, so the number selects which one you read.
A text file of checksums and file names, usually made with sha256sum and verified later with sha256sum -c. It records what a set of files should contain.
A jq function that applies a filter to each element of an array and returns a new array.
A builtin, also called readarray, that reads standard input into an indexed array with one element per line.
The short list of variables, including a small PATH, that cron gives each job, which is why jobs need absolute paths.
A utility that creates a uniquely named temporary file or, with -d, a directory, and prints the name.
The file permissions, owner read and write only, that mktemp gives a new file. Directories get mode 700.
The timestamp of the last change to a file's contents. ls -l shows it by default.
A vim movement such as w, b, or f followed by a character, which defines the region an operator acts on.
A namespace with its own mount table, so mounts made inside it are not visible outside. It is what makes pivot_root safe to use.
A directory in the tree where another filesystem is attached. The contents of that filesystem appear under the mount point while it is mounted.
The kernel's live list of active mounts, read from /proc/mounts. Each line gives the source, mount point, filesystem type, and options.
The maximum transmission unit, the largest packet an interface sends without splitting it.
A file of type p that gives two unrelated processes a rendezvous point. It holds no data on disk; the kernel moves bytes through memory.
A kernel object that gives a set of processes a private view of one global resource, such as process IDs, mounts, host name, or network interfaces.
A file name component from date with the N format that keeps backup names unique and in time order even when two runs share a second.
A substring offset that counts from the end of the value. It must be written with a space before the minus sign, as in ${name: -3}.
A tool that connects standard input and output to a network socket, with no protocol of its own.
A namespace with its own network interfaces, routing tables, and firewall rules. Processes in the same network namespace share one network stack.
A bash option, set with set -o noclobber, that makes > refuse to overwrite an existing regular file. The >| operator overrides it.
A command that runs another program with SIGHUP ignored and redirects its output so the job can outlive a closed terminal.
A lock attempt that fails at once when the lock is held, as with flock -n, instead of waiting.
A shell that runs commands from a string or a file without a person at the prompt, such as bash script.sh or bash -c.
A control sequence, such as a color code, that takes no space on screen. PS1 marks these with \[ and \] so line editing counts the correct width.
The vim mode where keys move the cursor and run commands, rather than inserting typed text.
The bash option set -u, or set -o nounset, that treats an expansion of an unset variable as an error and exits the shell.
A command that runs a program inside the namespaces of an existing process, named with the -t option followed by a PID.
The configuration file that sets the order in which the system looks up names, such as files before dns.
A byte with the value zero. Some /proc files, such as cmdline, separate their fields with NUL bytes instead of spaces.
A list of file names separated by NUL bytes, which cannot appear in a name, so every name survives a pipeline intact.
A stream where each name ends with a zero byte, which is safe because a file name cannot contain NUL.
A shell option that makes a pattern with no matches expand to nothing, instead of staying as literal text.
The owner or group shown as a number instead of a name, as printed by ls -ln or by stat -c with %u or %g. The kernel stores and checks this number.
A sort mode that compares fields as numbers, so 9 sorts before 10.
A number with a leading zero, which bash reads in base 8, so 010 means 8.
A permission number written in base eight, where each digit is a sum of read 4, write 2 and execute 1 for one class.
The shell variable that holds the directory you were in before the last cd. cd minus uses it to return.
The kernel component that stops a process when memory cannot be reclaimed, for example after a group reaches its memory limit.
The kernel object created by opening a file, which owns the position and any lock. Two separate opens of one file hold separate descriptions.
The resource limit on how many file descriptors a process may hold open, read with ulimit -n or the open files row of /proc/PID/limits.
A non-option argument to a program, usually a file name or a value. The -- marker ends option parsing so that everything after it is an operand.
A vim command such as d, c, or y that acts on the region chosen by a motion or text object.
The variable that getopts maintains as the index of the next argument to process. Shifting by OPTIND minus 1 removes the parsed options.
A word beginning with a hyphen that a program chooses to interpret as a request, such as -l or --all. Its meaning is defined by that program, not by the shell or kernel.
The first argument to getopts, such as vn:, where each letter is a flag and a letter followed by a colon takes a value.
A process whose parent has exited, which the kernel reparents to PID 1 or a child subreaper.
The w bit in the other triplet, which is the value 2 in the last octal digit of a mode. A file with it set is world-writable.
The awk variable that print places between its comma-separated arguments, which is a space by default.
A filesystem that merges read-only lower layers with a writable upper layer, so changes go to the upper layer and the lower layers stay untouched.
A root filesystem built by merging a read-only lower layer with a writable upper layer, so the system can start from a fixed image each time.
The suffix after the upstream version, such as -r1 in 5.3.9-r1, that a distribution adds when it rebuilds a package.
A program that shows a file one screen at a time and reads its input on demand. less is the standard pager on Linux.
A single pseudo-terminal with its own shell, shown inside a tmux window.
The replacement of $name or ${name} with the value of the variable, optionally modified by an operator inside the braces.
A contiguous range of blocks on a disk that the system treats as its own device, such as /dev/sda1 for the first partition of /dev/sda.
A map at the start of a disk that records where each partition begins and ends. It is stored separately from any filesystem inside the partitions.
The list of directories bash searches for a bare command name, so a script there runs by name from anywhere.
The kernel step that resolves a path one component at a time, needing search permission on each directory before it looks up the next name.
The step that matches words containing *, ?, or [ against existing file names, also called globbing.
The buffer in sed that holds the current line while the editing commands run on it. The line is printed at the end of the cycle unless a command suppresses it.
The ${var/pattern/text} form that replaces the first match, and the double slash form that replaces every match.
Removing a prefix or suffix that matches a pattern, using the # and % operators with either one or two characters.
A backslash placed before a percent sign in a crontab command so that cron passes a literal percent sign to the command.
One of the three sets of bits, for owner, group and others, that the kernel chooses for a process. Only the first matching class is checked.
One of the three groups of r, w, and x letters in a mode, for owner, group, and other. The kernel uses exactly one triplet for each access.
A command that prints the PIDs of processes whose names match a pattern, useful in scripts.
The real location of a directory after all symbolic links are resolved. pwd -P prints it.
The process ID, a unique number the kernel gives each running process and uses to track it.
The first user-space process the kernel starts. It starts the boot tasks and services, and it reaps orphaned processes.
A namespace that gives processes their own numbering. The first process started inside it is PID 1 there, and the processes outside still have their normal PIDs.
A pair of descriptors, one for reading and one for writing, that the shell connects between the stages of a pipeline.
A bash option, enabled with set -o pipefail, that makes a pipeline's exit status the rightmost nonzero status of its commands instead of only the last command's status.
One or more simple commands joined by a pipe, where each command runs in its own child process.
The status a pipeline reports, which by default is the status of its last command. PIPESTATUS keeps the status of every stage of the most recent pipeline.
One command in a pipeline, which reads the previous stage output on standard input and passes its own output to the next stage.
The subshell that bash starts for the commands of a pipeline, so that variables set by a while loop at the end of a pipe are lost when the pipe ends.
A bash array that holds the exit status of each command in the most recent pipeline. It is overwritten by the next command, so it must be read immediately.
A system call that swaps the root filesystem of the calling mount namespace, moving the old root under a new directory so that it can be unmounted.
Keeping a small data set in a text file with one record per line, which tools such as grep, sed, and read can process without a database.
A number from 1 to 65535 that lets many programs share one IP address, with 1 to 1023 reserved for system services.
A numbered argument such as $1 or $#, which inside a function describes the arguments of that call rather than the script.
The arguments of the current shell or function, numbered $1, $2, and so on, that set -- can replace and $# can count.
The shell language defined by the POSIX standard, which every compliant shell supports, as opposed to the extensions that bash adds.
The parent process ID, which is the PID of the process that created this process.
The top directory that a build installs into, set with --prefix, such as $HOME/.local for an install without root.
A NAME=value written directly before a command, which gives that one command the value without changing the shell variable.
The key, Ctrl-b by default, that you press before a tmux command key; a config file can change it.
The number after the slash in an address, such as /24, which says how many leading bits identify the network.
Kernel files under /proc/pressure that report the share of time tasks waited on a resource, averaged over ten, sixty, and three hundred seconds.
The find option that writes each name followed by a NUL byte, for use with a NUL-aware reader such as read -d ''.
A builtin that prints its arguments according to a format string with conversions such as %s, %d, and %.2f. It adds no newline by itself.
The printf option that stores the formatted result in a variable instead of printing it.
A printf format that writes its argument quoted so that the shell reads it back as the same text.
The half of an SSH key pair that stays on your machine and proves your identity without being sent.
A limit on how long a connection test may wait, so that a filtered address cannot stall the whole probe.
A running instance of a program, with its own PID, memory, and open file descriptors.
A set of related processes, such as a pipeline or a job, that receive terminal signals together.
The condition the kernel records for a process, shown in the STAT column of ps, such as R, S, D, T, or Z.
A bash construct, written <(command) or >(command), that provides a file-like path connected to the output or input of a command, so tools that need file names can use live streams.
The kernel list of every process, with the fixed number of slots that limits how many processes can exist at once.
A backslash sequence in PS1, such as \u or \w, that bash expands to a user name, host name, directory, or other value when it draws the prompt.
A bash variable that holds a command to run each time bash is about to draw the prompt, useful for work that must refresh before every prompt.
The find action -prune, which stops the walk from descending into a directory that matched the test before it.
The shell variable that holds the prompt template. Bash expands its backslash escapes each time it draws the prompt.
The prompt string that starts every xtrace line. It is expanded each time, so it can include LINENO for line numbers.
A linked pair of kernel devices, a master and a slave, that lets a program act like a terminal. The slave appears as /dev/pts/N.
A command that draws the parent and child relationships of processes as indented text, with -p adding the PIDs.
The kernel interface that lets one process stop another at each system call and read its state. strace uses it to print the trace.
The half of an SSH key pair that you place on a server to let it verify your private key.
The final expansion step, which deletes the quote characters so the program receives the text without them.
The '\'' sequence that places a literal single quote inside a string written with single quotes.
The sort, uniq -c, and sort -rn sequence that counts repeated lines and orders them from most to least frequent.
A tty mode in which each byte is delivered immediately, without line editing or echo. Full-screen programs such as vim use it.
jq output with strings printed without JSON quotes, selected by the -r option.
The read option that treats backslashes as ordinary characters instead of escapes, so a line is stored exactly as written.
A builtin that reads one line from standard input into named variables, and returns status 1 at end of input.
The option that stops read from treating backslashes as escape characters, which matters for every line you read in a script.
A filesystem image on a block device that the kernel marks read-only, so no write can change its contents, even by root.
The library that edits the command line in an interactive bash session, where each editing action has a name.
The wall-clock time that passes between starting and finishing a command, as a stopwatch would measure it.
Any process that calls wait on its children, such as the shell, PID 1, or a supervisor, which lets their exit status be collected.
The human-readable text after the status code in an HTTP status line, such as Not Found, which programs should not rely on.
In awk a record is one input line, and a field is one of the pieces of a record separated by FS. NR counts records and NF counts fields.
A function that calls itself on a smaller part of the problem, such as a subdirectory. Each call needs its own local variables.
A chmod or chown run with -R, which applies the change to a directory and everything under it. It should be checked with find before it is used.
An instruction that changes where a command reads or writes a file descriptor, performed in the child before execve.
The =~ operator inside double brackets. The right side is a POSIX extended regular expression, and storing it in a variable keeps it intact.
A mount option that updates the access time only when it is older than the modification time or more than a day old.
A path that does not begin with a slash, so the kernel starts the walk at the current working directory.
A symbolic link whose stored target does not start with a slash. The kernel resolves it from the directory that contains the link.
A directory that holds one complete version of an application, which a deploy makes live by pointing a link at it.
The adjustment of code and data that refer to addresses, done after a shared library is mapped at a run-time address.
A fixed-pattern line before each section of a health report, so a script can split the report by section.
The metadata a package manager downloads from a remote repository to find available packages and their dependencies.
The first line of an HTTP request, which names the method, the path, and the protocol version.
The mode a program asks for when it creates a file. The umask removes bits from this request, so the final mode is never more permissive than the request.
The ${var:?message} form that prints the message and exits a non-interactive shell when var is unset or empty.
A shell keyword such as if, then, or do. Bash recognizes it only in command position and only when it is not quoted.
The file listing the DNS servers and search domains that the resolver uses for names.
An inittab action that runs a command again each time it exits, which keeps a console login available.
The maximum number of times a supervisor restarts a failing command, after which it gives up with the last status.
A builtin that leaves a function and sets its exit status from 0 to 255. Unlike exit, it does not end the whole script.
The readline search started by Ctrl-r, which finds the most recent history line containing the text you type.
Restoring the previous working state after a change fails, such as pointing a link back at the last healthy release.
The account with UID 0. The kernel lets root bypass most of the discretionary permission checks, so ordinary work should run under a normal account.
The top of the filesystem tree, written as a single slash. Every absolute path starts here.
The directory tree that a process sees as /. A chroot target needs its own root filesystem with the programs and libraries its commands use.
Compressing data and then decompressing it to compare the result with the original. A matching round trip is the test that a compressed file is usable.
The kernel table that maps destination networks to the interface and gateway that should carry each packet.
A tool that copies trees and sends only the differences between source and destination, optionally over ssh.
A value that an awk program adds to for each record, such as a sum or a count stored under a key, and prints after the input ends.
The ShellCheck code for an unquoted variable that is subject to word splitting and globbing.
A tool such as cron that runs a command later with a minimal environment, so the script must set its own paths.
The kernel component that handles a file starting with #!, reads the interpreter path and at most one argument, and starts the interpreter with the script path.
The execute bit on a directory, which lets a process pass through it to reach the entries inside.
A kernel filter that allows or blocks system calls for a process. The Seccomp line in /proc/PID/status shows whether a filter is active.
A line such as [server] that starts a group of keys in an INI file. The parser prefixes each later key with the section name.
Moving the read position of an open file without reading data. Seeking is cheap, and it is why a pager can open large files at once.
A jq function that keeps a value only when its condition is true, such as select(.active).
A GNU coreutils command that prints a range of numbers, one per line. It is useful when the bounds come from variables.
A browser script that sits between a page and the network and can answer requests from its own cache.
A named group of tmux windows, the top level of the session, window, and pane hierarchy.
The mode bit with value 2. On a program it sets the effective GID to the file group, and on a directory new entries inherit the directory group.
A mode bit that makes an executable run with its owner effective user ID. It is shown as s in the owner execute position.
The 256-bit output of the SHA-256 hash function, usually written as 64 hexadecimal digits. sha256sum prints it for each file it reads.
The effect of a local variable hiding a global variable with the same name while the function that declared it is running.
A library file that many programs can map into memory at once, instead of copying its code into each program.
A memory region created when the dynamic loader maps a shared library file into a process, so one copy of the code can serve many processes.
The #! line at the top of a script. The kernel uses it to choose the interpreter that runs the file, such as /usr/bin/env bash.
A named group of commands defined inside the shell. It is checked after aliases and before builtins and programs.
A wildcard pattern made of star, question mark, and brackets, as used in file name matching and in parameter trimming. It is not a regular expression.
A name and value that bash keeps in its own memory. Programs that bash starts cannot see it unless it is exported.
A static analysis tool for shell scripts that reports risky constructs by code, such as SC2086 for an unquoted variable.
A builtin that removes the first positional parameter and renumbers the rest. shift N removes N parameters at once.
The && and || operators, which run the right side only when the left side's status makes it necessary.
With # or %, one character means the shortest match and two characters mean the longest match.
The signal the kernel sends when the controlling terminal closes, which terminates processes that do not ignore it.
The interrupt signal that Ctrl-C generates for the foreground process group, which a program may catch.
The signal that cannot be caught, blocked, or ignored, so the kernel ends the process directly.
A small numbered message the kernel delivers to a process, such as SIGTERM, SIGINT, or SIGKILL.
The action a process takes for a signal, such as default, caught by a handler, or ignored, shown in SigIgn and SigCgt.
The status 128 plus N that the shell reports for a process killed by signal N, such as 130 for Ctrl-C (SIGINT) and 143 for SIGTERM.
A signal the kernel sends to a process that writes to a pipe whose read end is closed. It normally ends the writer, which is why yes stops when head exits.
The default signal that kill sends, which a program can catch to clean up before it exits.
The signal the kernel sends to a background process that tries to read from the terminal, which stops the process.
Quotes that make every character inside them literal, including dollar signs, backslashes, and spaces.
The record that GNU tar keeps with --listed-incremental. Reusing it makes the next run incremental, and deleting it makes the next run a full backup.
A file of type s that is an endpoint for communication between processes on one machine. The kernel moves the messages in memory.
The resource limit the kernel enforces now, which a process may raise up to the hard limit.
A field, or a range of fields, that sort compares, written with -k and optionally followed by n for numeric or r for reverse order.
An indexed array with gaps in its indices, which appears after assigning to a high index or after unset removes an element.
A file whose logical size is larger than the blocks it allocates, because some ranges were never written. ls -s shows the allocated size.
A utility that writes its input to a series of smaller files with predictable names, such as part-aa and part-ab, each holding a fixed number of lines or bytes.
Reducing each run of the same character in a set to a single copy, which tr -s does for spaces and other characters.
The memory region marked [stack] in /proc/PID/maps. It holds return addresses and local variables for function calls and grows downward.
The output stream on descriptor 2 that carries diagnostics and error messages, kept separate from standard output so that data and complaints can go to different places.
The stream a program reads when no file is named. It is usually connected to the keyboard or to the output of a pipe.
The three descriptors every command starts with: 0 for standard input, 1 for standard output, and 2 for standard error.
A command that reports the attributes of a file. With the -c option and formats such as %A, %a, and %n, it prints the symbolic mode, the octal mode, and the name directly.
A firewall feature that remembers connections it has seen, so replies to outgoing requests are allowed without extra rules.
Checking code without running it, so the tool sees the source but not the values that exist at run time.
A program built with all its libraries linked in, so it needs no shared libraries from the root filesystem. It is the simplest program to place in a minimal root.
The first line of an HTTP response, such as HTTP/1.1 200 OK, which carries the three-digit status code.
A crontab field form such as */15 that means regular points across a field, such as every fifteen minutes.
A mode bit on a shared directory that lets a user remove only the entries they own. It is shown as t in the others execute position.
A tool that prints the system calls a process makes, which lets you see a program talk to the kernel.
The strace -c option, which prints the number of calls and the time spent in each system call instead of a full trace.
Copying data through a pipe, such as tar writing an archive that a second tar reads, which is the idea behind copies over ssh.
The set -euo pipefail setting that stops a script at the first failed command, unset variable, or failed pipeline stage.
A command that starts a shell as another user, normally root, after asking for that account password. The shell lasts until you exit it.
A word such as add, list, or done that selects one of a script's jobs, usually handled by a case statement on the first argument.
A process that has marked itself to adopt orphaned descendants, so those orphans are collected by it rather than by PID 1.
A copy of the shell started by parentheses. It has its own working directory, so a cd inside it does not affect the outer shell.
The sed command s/old/new/ that replaces the first match on each line, with the g flag replacing every match.
The ${name:offset:length} form that cuts characters from a zero-based offset.
The ${name:offset:length} form, which returns part of a value counting from zero.
A command that runs one command with the rights granted by the sudoers policy, using your own password and logging the use.
The policy file that says which accounts may run which commands through sudo, usually at /etc/sudoers. Only root reads and edits it.
Keeping a service running by restarting it when it exits, often with limits on how fast restarts may happen.
A program that starts another program, watches its exit status, and restarts it when it fails, up to a limit.
A group, besides the primary group, that a process belongs to. The kernel checks these memberships when it chooses the group class of bits.
Moving memory pages to and from swap space on disk; nonzero si and so values during a slow task show it is happening now.
Connecting a call in a program to the address of a function in a shared library, either at load time or at the first call.
A file whose data is a path. The kernel follows it during lookup, and it can point anywhere or dangle.
A chmod form such as u+x or go-w that adds, removes or sets bits for named classes, leaving the other bits unchanged.
The section of a man page that gives the command syntax in compact notation, where square brackets mark optional items, an ellipsis marks repetition, and a vertical bar separates alternatives.
A controlled request from a program to the kernel, such as opening a file or writing to a descriptor.
The CPU time the kernel spends on a program's behalf, such as reading files, allocating memory, and creating processes.
A single file that stores a tree of files and directories as a sequence of headers and data, preserving names, modes, and structure. Tar does not compress or checksum by itself.
A command that copies its standard input to standard output and to each named file, letting a pipeline save an intermediate result without changing the data that follows.
A keyboard and printer connected over a serial line, whose name survives in the Unix tty devices and the tty command.
The pattern given to mktemp, whose trailing X characters are replaced by random characters to make the name unique.
The control keys such as intr, quit, and susp that the terminal settings map to bytes, which stty -a lists.
A graphical program that draws a grid of characters and sends your keys to a pseudo-terminal, standing in for a hardware terminal.
A database of escape sequences for each terminal type, named by the TERM variable, that programs use to clear the screen and move the cursor.
The shell test that is true when a path is a symbolic link, whether or not the target exists.
The command test, also written as the bracket [, which checks files, strings, and numbers and returns 0 when the check is true.
A named region in vim, such as iw or i followed by a quote, that an operator can act on regardless of the cursor position inside it.
The shell step that replaces a leading tilde with a home directory path before the command runs. A bare tilde means the value of HOME.
The five fields before the command in a crontab line: minute, hour, day of month, month, and day of week.
The seconds counted from kernel start, shown in brackets by dmesg, which must be converted before it is compared with wall-clock logs.
A bash shell variable that sets the layout of the time report, using escapes such as %R for elapsed seconds.
A coreutils command that runs another command with a time limit, and exits with status 124 when the limit is reached.
The coreutils command that runs another command and stops it after a set number of seconds.
An environment variable that names the default directory for temporary files, used by mktemp when the template has no directory part.
A filesystem whose contents live in memory rather than on disk, so its data is lost when the memory is discarded.
The background process that owns the shells and sessions, so a client can detach and attach again without stopping the work.
A word or operator produced when bash breaks a line of input apart, with quoting controlling where the boundaries fall.
The text printed at the start of each xtrace line, by default a plus sign and a space, which can be changed with PS4 to show more context.
The removal of every newline at the end of a substitution's output, which bash performs automatically.
A slash after a source directory in rsync, which copies the contents of the directory instead of the directory itself.
The two lists of characters given to tr, SET1 and SET2, where each character in SET1 maps to the character at the same position in SET2.
The builtin that registers an action to run when the shell receives a signal or a condition such as EXIT.
Emptying a file when it is opened for writing. The > redirection truncates its target before the command runs, even if the command later fails.
A bash builtin that prints one word for a name: alias, keyword, function, builtin, or file, and prints nothing when the name is not found.
The numeric user ID that the kernel uses to identify the owner of a process and of a file. Names such as user are looked up from the number through the password file.
The shell builtin that reads and sets the resource limits of the shell and the programs it starts.
A mask of permission bits that the shell removes from the mode of every new file it creates. A common umask of 022 turns a requested 666 into 644.
A diff format that shows a few lines of context around each change, with plus and minus signs. It is the format used by patches.
The single cgroup tree used by cgroups v2, in which every controller is attached to the same hierarchy. It is mounted with type cgroup2.
The Linux kernel source compiled to WebAssembly and run inside the lab's browser tab, with an unmodified Alpine userland on top.
A variable that has never been assigned or that unset removed. It differs from a variable that is set to the empty string.
The error that set -u raises when a script refers to a variable or parameter that has no value.
A command that runs a program in new namespaces chosen by flags such as --pid, --mount, --uts, --net, and --user.
A loop that repeats its body while its condition fails, and stops when the condition succeeds.
The writable layer of an overlay. In this course's machine it lives in memory, so anything written to the root is lost when the page reloads.
An error in how a command was invoked, such as a missing argument, that a well-behaved script reports on standard error with exit status 2.
The text a script prints to standard error when it is called with the wrong arguments, paired with a distinct exit status.
A namespace that maps user and group IDs, so a process can hold root IDs inside it while remaining an ordinary user outside.
The CPU time a program spends running its own code.
A variable-width encoding of Unicode in which ASCII characters take one byte and other characters take two to four bytes.
A namespace that isolates the host name and the domain name, so a change inside it does not affect the rest of the system.
A readline mode that gives the command line normal and insert modes, similar to vim, set through inputrc.
A filesystem whose contents the kernel generates on demand, such as /proc and /sys. Its files do not occupy a disk.
A contiguous region of a process address space with one set of permissions and one backing, such as a file, the heap, or the stack. Also written VMA.
The editor that locks sudoers during an edit and checks the syntax before saving, which protects against a lockout.
A parent collecting a child exit status with wait, which removes the child entry from the process table.
A loop that repeats its body as long as its condition command succeeds. The condition is tested before each pass.
A marker in the upper layer of an overlay that hides a file from a lower layer after it is deleted, without changing the read-only lower layer.
A match that is bordered by non-word characters or the ends of the line, requested with grep -w so that log does not match inside blog.
The step that breaks unquoted results of expansion into separate words at the characters in IFS, which are spaces, tabs, and newlines by default.
The directory each process uses to resolve relative paths. Each process has its own copy, and a child cannot change its parent.
A file whose other-write bit is set, so every account on the system may change its contents. Auditors look for these files to find mistakes.
The w bit on a directory, which is needed to create, remove, or rename entries in it. A file can be deleted without write on the file itself, if the directory allows it.
The set -x option, also called tracing, that prints each command after expansion to standard error before it runs.
A process that has exited but still has an entry in the process table until its parent calls wait.