Glossary of Linux and command line terms

Definitions of the Linux and command line terms used across Tutonics articles.

This glossary explains the technical terms used across Tutonics articles. Entries are grouped by topic and listed alphabetically within each group. Each definition links to the article that explains the term in context.

Command line and shell

TermDefinition

BASH

Bourne Again SHell. A widely used Unix shell and command language, and the default interactive shell on many Linux systems. See Getting started with BASH.

CLI

Command line interface. A text-based interface where you type commands instead of using a mouse. See Getting started with the CLI.

Command

An instruction given to the shell. It can be a shell built-in or a separate program found through PATH.

Environment variable

A named value stored by the shell and passed to programs it starts, such as PATH or HOME. See BASH configuration.

find

A command that walks a directory tree and selects files by name, type, size, time or permissions. It can also run an action on each match. See Getting started with the find utility.

grep

Global regular expression print. A command that searches text and prints lines that match a pattern. See A FAQ style introduction to grep.

Man page

Manual page. The built-in reference documentation for a command, opened with man. See An intermediate look at the find utility.

Option

A word after a command that changes its behaviour, usually beginning with - or --. Also called a flag.

PATH

The environment variable that lists the directories the shell searches when looking for a command.

Pipe

The | operator. It sends the standard output of one command to the standard input of the next.

Prompt

The text the shell prints when it is ready for a command, commonly configured with PS1. See BASH configuration.

Redirection

Sending standard input, standard output or standard error to a file or another stream, using operators such as <, >, >> and 2>.

Regular expression

A pattern language for matching text. Commands such as grep, find and sed use it to select strings. See A FAQ style introduction to grep.

Shell

A program that reads commands, expands them and asks the kernel to run programs. BASH is one shell.

Terminal

A program that provides a text window in which a shell runs. See Terminal basics.

Files, disks and storage

TermDefinition

chmod

Change mode. The command that sets the read, write and execute permissions on a file or directory. See Linux file permissions, chmod and umask.

File permission

The access rules for a file or directory, held separately for its owner, group and everyone else. See Linux file permissions, chmod and umask.

Filesystem

The structure and rules used to store files on a device, such as ext4. Also the directory tree seen from /.

ISO image

A single file containing a complete filesystem image, usually intended for a CD or DVD. It can also be written to a USB drive. See How to create a bootable live USB.

Live USB

A USB drive containing a bootable operating system that runs without being installed on the internal disk. See How to create a bootable live USB.

Logical volume (LV)

A resizable virtual disk created from space in an LVM volume group. See Logical volume management guide.

LVM

Logical Volume Manager. A storage layer that pools physical volumes into a volume group and divides the space into logical volumes. See Logical volume management guide.

Mount point

The directory where a filesystem is attached to the main filesystem tree. See Logical volume management guide.

Partition

A defined region of a disk that holds a filesystem or other data. See Logical volume management guide.

Physical volume (PV)

A disk or partition that has been initialised for use by LVM. See Logical volume management guide.

setgid

A permission bit that makes a program run with the group of the file, or makes new files in a directory inherit its group. See Linux file permissions, chmod and umask.

setuid

A permission bit that makes a program run with the user ID of the file owner. See Linux file permissions, chmod and umask.

Snapshot

A point-in-time copy of a logical volume. Later changes are recorded separately, so the snapshot preserves the earlier state. See Logical volume management snapshots.

Swap

Disk space used as virtual memory when physical memory is full. See Identify disk/swap hungry processes with iotop.

umask

The mask subtracted from the default permissions when a new file or directory is created. See Linux file permissions, chmod and umask.

Volume group (VG)

A pool of physical volumes that provides the space from which logical volumes are created. See Logical volume management guide.

Processes and system

TermDefinition

Daemon

A background process that runs without a terminal, often started at boot. The SSH server, sshd, is a daemon.

Distribution

A complete operating system built from the Linux kernel, GNU tools, a package manager and other software, such as Ubuntu or Debian.

GNU/Linux

A Linux-based operating system that combines the Linux kernel with GNU userland tools.

Kernel

The core of the operating system. It manages memory, processes, devices and system calls.

PID

Process ID. The unique number the kernel assigns to a running process. See Using ps to list processes.

Process

A running instance of a program, with its own memory and process ID. See Using ps to list processes.

Root

The superuser account, user ID 0, which can bypass normal permission checks. See User account and group management.

sudo

A command that runs another command as root or another user, depending on its configuration. See User account and group management.

Networking and remote access

TermDefinition

Cryptcat

A version of netcat that encrypts the connection. See Encrypted data transfer using cryptcat.

IP address

The numeric address that identifies a host on a network, such as 192.168.1.10. See Getting started with netcat.

Key pair

A matched public key and private key. The public key can be shared; the private key must stay secret. See Using a public/private key pair for auto SSH login.

Multiplexing

Reusing one SSH connection for several sessions. See Allow multiple SSH sessions over an existing connection.

Netcat

A utility that reads and writes data over TCP or UDP connections, often called nc. See Getting started with netcat.

NetHogs

A monitor that reports network bandwidth grouped by process. See Monitoring per process network bandwidth usage with NetHogs.

Passphrase

A password used to protect a private key. See Using a public/private key pair for auto SSH login.

Port

A numbered endpoint on a host that identifies a network service, such as port 22 for SSH.

Protocol

A set of rules that defines how systems exchange data, such as TCP, UDP or SSH.

SCP

Secure copy. A command that copies files between hosts over SSH. See Securely copy files remotely using SCP.

SFTP

SSH File Transfer Protocol. A file transfer protocol carried over SSH. See Secure file transfer using SFTP.

SSH

Secure Shell. A protocol and command set for encrypted remote login and file transfer. See Secure encrypted communications using OpenSSH.

sshd

SSH daemon. The server process that accepts SSH connections. See Installing SSH daemon (sshd).

SSHFS

SSH filesystem. A client that mounts a remote directory over SFTP so that it appears as a local directory. See Using SSHFS to securely mount remote file systems.

Encryption and email

TermDefinition

AES

Advanced Encryption Standard. A symmetric block cipher widely used to encrypt data.

Asymmetric encryption

Encryption that uses a public key and a matching private key. Also called public-key cryptography. See GPG encryption guide part 2.

Cipher

An algorithm that encrypts and decrypts data. AES and RSA are ciphers.

Digital signature

A cryptographic value that shows who signed data and whether the data has changed. See GPG encryption guide part 3.

Encryption

The process of transforming readable data into ciphertext so that only someone with the right key can read it.

GPG

GNU Privacy Guard. An implementation of OpenPGP used for encryption, signing and key management. See GPG encryption guide part 1.

Hash

A fixed-length value calculated from data. A secure hash changes completely when the data changes, so it is used to check integrity.

IMAP

Internet Message Access Protocol. An email protocol that keeps mail on the server and synchronises it across devices. See Using Thunderbird for your email (IMAP vs POP3).

OpenSSL

A cryptography toolkit and TLS library. Its openssl command can encrypt files and inspect certificates. See Easy file encryption using openssl.

POP3

Post Office Protocol version 3. An email protocol that downloads mail from a server to one device. See Using Thunderbird for your email (IMAP vs POP3).

RSA

A public-key cryptosystem used for encryption and digital signatures.

Symmetric encryption

Encryption in which the same key encrypts and decrypts the data. See GPG encryption guide part 4.

Packages and virtualisation

TermDefinition

apt

The package manager front end on Debian and Ubuntu, used to install, update and remove software. See A FAQ style introduction to apt-get and apt-cache.

Package

A bundled piece of software with metadata and dependency information, installed by a package manager.

PPA

Personal Package Archive. A software repository hosted on Launchpad for Ubuntu packages. See How to manage Ubuntu applications and PPAs.

Repository

A location that provides packages and index metadata to a package manager.

Virtual machine

A computer emulated in software, with its own virtual hardware and operating system. See VirtualBox full virtualization software.