← All guides
THE GLOSSARY

Words You Will See

Short definitions of the words beginners meet when they start using a terminal.

Last updated

Absolute path

A path that starts with /, so it names a file or folder from the top of the tree, wherever you are.

Learn more: The Map Your Shell Walks: Files and Folders

Archive

One file that holds many files and folders, with their names, so they can be stored or sent together. The tar command makes archives. An archive is not compressed unless you ask for that.

Learn more: Make a Backup You Can Trust

Argument

A word you type after a command's name, such as a file name or an option. In everyday talk every word after the name is an argument.

Learn more: Three Streams Every Program Has, Anatomy of a Command

ASCII

An old, simple encoding that gives each of 128 characters a number. The letter A is 65. UTF-8 keeps the same numbers for these characters.

Learn more: Words or Wiring: Text Files and Binary Files

Backup

A second copy of your files, kept somewhere else, so you can get them back if the first copy is lost or damaged.

Learn more: Make a Backup You Can Trust

Binary file

A file whose bytes are not meant to be read as characters, such as a photo, a program or a compressed archive.

Learn more: Words or Wiring: Text Files and Binary Files

Boot

To start a computer: the steps from pressing the power button until the operating system is running.

Learn more: Firmware, Kernel, Programs: Who Is the Boss?

Boot loader

A small program that finds the kernel on the disk, loads it into memory and starts it. On Linux, GRUB is a common boot loader.

Learn more: Firmware, Kernel, Programs: Who Is the Boss?

BSD

Short for Berkeley Software Distribution: the versions of Unix released by the University of California at Berkeley, from 3BSD in 1980 to 4.4BSD in 1993, and the family of systems derived from them.

Learn more: A Short History: Unix, BSD, GNU, Linux, Who's Who: What Each Name Really Means

BusyBox

One small program that holds tiny versions of many common Unix tools. It is used on small and embedded systems, and its tools generally have fewer options than the GNU ones.

Learn more: Who's Who: What Each Name Really Means, One Command, Many Versions

Byte

A number from 0 to 255. A file is a row of bytes.

Learn more: Words or Wiring: Text Files and Binary Files

Command

A short instruction you type into the shell. It is usually the name of a program, followed by extra words that tell the program what to do.

Learn more: From Keypress to Screen, Terminal, Shell, Command: Three Things People Mix Up

Command line

The line you type into the shell: a command name followed by its options and arguments.

Learn more: Anatomy of a Command, Terminal, Shell, Command: Three Things People Mix Up

CPU

The part of the computer that carries out instructions, one tiny step at a time, very fast. It is also called the processor.

Learn more: From Keypress to Screen, The Computer's Body: CPU, Memory, Disk

Current directory

The folder the shell is working in. A relative path starts from it. pwd prints it, and cd changes it.

Learn more: The Map Your Shell Walks: Files and Folders

Darwin

The open core of macOS, according to Apple: its kernel and the BSD command-line environment, with technology derived from FreeBSD, Mach and NeXT.

Learn more: Who's Who: What Each Name Really Means, A Short History: Unix, BSD, GNU, Linux

Directory

A folder: a place that holds files and other directories.

Learn more: The Map Your Shell Walks: Files and Folders

Disk

Long-term storage that keeps your files when the computer is turned off, such as a hard disk or a solid-state drive (SSD). It is slower than memory.

Learn more: From Keypress to Screen, The Computer's Body: CPU, Memory, Disk

Distribution

A complete Linux system: the Linux kernel plus the commands, libraries, installer and package manager that one group chose and put together. Debian, Ubuntu and Alpine are distributions. Often shortened to distro.

Learn more: Ubuntu, Debian, Alpine: What Is a Distribution?, Who's Who: What Each Name Really Means

Driver

The part of the kernel that knows how to work one kind of hardware, such as a disk or a keyboard.

Learn more: What an Operating System Really Does

Encoding

The rule that says which number stands for which character.

Learn more: Words or Wiring: Text Files and Binary Files

Environment variable

A named piece of text that a program carries and hands to the programs it starts, such as PATH or HOME.

Learn more: Why "Command Not Found" Happens

Executable file

A file that has the execute permission turned on, so the system will run it as a program.

Learn more: Who May Read, Write, Run

Exit status

The number a command hands back to the shell when it ends. Zero means success, and any other number means something went wrong.

Learn more: How a Command Says Yes or No

Firmware

Small built-in software stored on the hardware itself. It starts the computer when you switch it on and hands control to the operating system.

Learn more: From Keypress to Screen, Firmware, Kernel, Programs: Who Is the Boss?

Flag

Another word for an option.

Learn more: Anatomy of a Command

FreeBSD

A complete Unix-like operating system based on the 4.4BSD-Lite release from the University of California at Berkeley.

Learn more: A Short History: Unix, BSD, GNU, Linux, Who's Who: What Each Name Really Means

GNU

A project announced by Richard Stallman in 1983, with work starting in January 1984, to write a complete free system compatible with Unix. It also names the large set of tools the project produced.

Learn more: A Short History: Unix, BSD, GNU, Linux, Who's Who: What Each Name Really Means

Hardware

The physical parts of a computer that you can touch: the processor, the memory, the disk, the keyboard and the screen.

Learn more: From Keypress to Screen, The Computer's Body: CPU, Memory, Disk

Home directory

Your personal folder. In the shell, ~ stands for it.

Learn more: The Map Your Shell Walks: Files and Folders

Implementation

One particular program that does the job a command name stands for. GNU sed, macOS sed and BusyBox sed are three implementations of sed.

Learn more: One Command, Many Versions, Who's Who: What Each Name Really Means

Kernel

The core of the operating system. It decides which program gets the CPU and memory, and it talks to the hardware on behalf of programs.

Learn more: From Keypress to Screen, What an Operating System Really Does, Firmware, Kernel, Programs: Who Is the Boss?

Linux

A Unix-like kernel written from scratch by Linus Torvalds, first developed in 1991 and made free software in 1992. The GNU Project calls a complete system built from GNU tools and this kernel GNU/Linux.

Learn more: A Short History: Unix, BSD, GNU, Linux, Who's Who: What Each Name Really Means

macOS

Apple's operating system for the Mac. It is built on Darwin and adds graphical layers on top.

Learn more: Who's Who: What Each Name Really Means, A Short History: Unix, BSD, GNU, Linux

Memory

Fast, temporary storage for the programs and data the computer is working on right now. What it holds is lost when the power goes off.

Learn more: From Keypress to Screen, The Computer's Body: CPU, Memory, Disk

Operating system

The software that manages the computer for all other programs. It shares out the CPU, memory and disk, and it provides files and a way to run programs. Examples include macOS, Windows, and the many systems built around the Linux kernel.

Learn more: From Keypress to Screen, What an Operating System Really Does

Option

A word that starts with a dash, such as -l, and changes how a command works. Some options take a value of their own.

Learn more: Anatomy of a Command

Package

A bundle of the files needed for a set of related commands or features, which a package manager can install.

Learn more: Ubuntu, Debian, Alpine: What Is a Distribution?

Package manager

A tool that finds a package, fetches it, checks the other packages it needs and puts its files in place. Examples are apt on Debian, apk on Alpine and Homebrew on a Mac.

Learn more: Ubuntu, Debian, Alpine: What Is a Distribution?

Parent process

The process that started another one. The one it started is its child.

Learn more: Programs That Are Awake: Processes

Path

The way to reach a file or folder, written as names separated by /.

Learn more: The Map Your Shell Walks: Files and Folders

PATH variable

The environment variable that lists the folders, separated by colons, where the shell looks for a program by name.

Learn more: Why "Command Not Found" Happens

Permission

A setting that says whether the owner, the group or everyone else may read, write or execute a file.

Learn more: Who May Read, Write, Run

PID

Short for process ID: the number the kernel gives each running process so it can be told apart from the others.

Learn more: Programs That Are Awake: Processes

Pipe

A one-way channel that connects the standard output of one command to the standard input of the next. In the shell it is written with the | symbol.

Learn more: Snapping Commands Together

Pipeline

Commands joined with pipes, so that the output of each one becomes the input of the next.

Learn more: Snapping Commands Together

POSIX

A standard that describes what a Unix-like system should provide, including the commands and their options. The first, POSIX.1-1988, was followed by POSIX.1-1990. Richard Stallman coined the name.

Learn more: A Short History: Unix, BSD, GNU, Linux, One Command, Many Versions

Process

A program that is running. It has its own PID and its own memory.

Learn more: Programs That Are Awake: Processes

Program

A set of instructions the computer can run to do one job, such as listing files. A command usually starts a program.

Learn more: From Keypress to Screen, Programs That Are Awake: Processes

Prompt

The text the shell prints to show that it is ready for your next command.

Learn more: Terminal, Shell, Command: Three Things People Mix Up

RAM

Short for random-access memory. It is the computer's memory: fast, temporary storage that is lost when the power goes off.

Learn more: The Computer's Body: CPU, Memory, Disk

Redirection

Sending one of a program's streams to or from a file instead of the keyboard and screen, for example with > or <.

Learn more: Snapping Commands Together, Three Streams Every Program Has

Relative path

A path that does not start with /. It starts from the current directory.

Learn more: The Map Your Shell Walks: Files and Folders

Root directory

The top folder, written /. Every other file and folder is inside it.

Learn more: The Map Your Shell Walks: Files and Folders

Shell

A program that reads the commands you type and starts the programs they name. Bash and zsh are shells.

Learn more: From Keypress to Screen, Terminal, Shell, Command: Three Things People Mix Up

Software

Instructions, stored as files, that tell a computer what to do. The operating system and every program you run are software.

Learn more: Firmware, Kernel, Programs: Who Is the Boss?

stderr

Short for standard error: the stream a program writes its error messages and warnings to. It is kept apart from standard output so that results stay clean when they are saved or piped, and so that errors are still seen. By default it goes to your screen.

Learn more: Three Streams Every Program Has

stdin

Short for standard input: the stream a program reads from. By default it comes from your keyboard.

Learn more: Three Streams Every Program Has

stdout

Short for standard output: the stream a program writes its normal results to. A pipe or a > redirect carries this stream, and not standard error. By default it goes to your screen.

Learn more: Three Streams Every Program Has

Stream

A flow of data, one piece after another. Every program starts with three streams: input, output and error.

Learn more: Three Streams Every Program Has

Superuser

An account that may read and write any file and skips most permission checks. It is often called root.

Learn more: Who May Read, Write, Run

System call

A request a program makes to the kernel, such as asking it to open a file. It is how a program asks the kernel to do something for it.

Learn more: What an Operating System Really Does

System V

The version of Unix sold by AT&T, first released in 1983. With BSD, it is one of the two main dialects Unix split into after Version 7.

Learn more: A Short History: Unix, BSD, GNU, Linux

Terminal

A window or screen that shows text and passes your key presses to the shell.

Learn more: From Keypress to Screen, Terminal, Shell, Command: Three Things People Mix Up

Text file

A file whose bytes stand for characters, arranged in lines.

Learn more: Words or Wiring: Text Files and Binary Files

Unix

The operating system from AT&T Bell Labs, whose Version 7 was released in 1979, and the family of systems descended from it.

Learn more: A Short History: Unix, BSD, GNU, Linux

Unix-like

Behaving like Unix without being a direct descendant. Linux, a clone written from scratch, and the GNU system, written to be compatible with Unix, are Unix-like.

Learn more: A Short History: Unix, BSD, GNU, Linux, Who's Who: What Each Name Really Means

UTF-8

The common way to write text as bytes today. ASCII characters keep their numbers, and other characters take two or more bytes.

Learn more: Words or Wiring: Text Files and Binary Files

Variable

A name that holds a piece of text, such as PATH.

Learn more: Why "Command Not Found" Happens

Volatile

Describes memory that loses its contents when the power goes off.

Learn more: The Computer's Body: CPU, Memory, Disk