Find a course

Linux Command Line Basics glossary

34 terms you will meet in the free Linux Command Line Basics course, each explained in one or two sentences.

A

Absolute path
A path that starts at the root directory with /, the same from any location.
Alias
A short name defined to stand for a longer command.
Argument
A value a command acts on, such as a file name or a search pattern.

B

Bash
The Bourne Again SHell, the default shell on most Linux distributions.

C

Cron
The standard Linux scheduler that runs commands at set times from a crontab.

D

Daemon
A background service process, such as sshd, that runs without a terminal.

E

Environment variable
An exported variable that is passed to programs started from the shell.
Exit code
The number a command returns when it finishes: 0 for success, non-zero for failure.

G

Glob
A wildcard pattern such as *.txt that the shell expands into matching file names.

H

Hidden file
A file whose name starts with a dot; ls shows it only with -a.
Home directory
A user's personal directory, such as /home/lena, abbreviated as ~.

K

Kernel
The core of the operating system that manages hardware, memory, processes and files.

M

Man page
The built-in manual for a command, opened with man followed by the command name.

O

Octal mode
Permissions written as three digits, where r = 4, w = 2 and x = 1, such as 755.
Option
A flag starting with - or -- that changes how a command behaves, such as -l or --all.

P

Package manager
A tool such as apt or dnf that installs, updates and removes software from repositories.
PATH
The environment variable listing the directories the shell searches for commands.
Permissions
The read, write and execute rights a file grants to its owner, its group and others.
Pipe
The | operator, which feeds one command's output into the next command's input.
Process
A running instance of a program, identified by a process ID (PID).
Prompt
The text the shell prints when it is ready for a command, usually showing user, host and current directory.

R

Redirection
Sending a stream to or from a file with >, >>, 2> or <.
Regular expression
A pattern language for matching text, used by grep, sed and awk.
Relative path
A path interpreted from the current directory, without a leading /.
Root directory
The top of the Linux file tree, written as /.
Root user
The superuser account (user ID 0) that bypasses all permission checks.

S

Shebang
The first line of a script, such as #!/bin/bash, naming the interpreter that runs it.
Shell
The program that reads commands and asks the operating system to run them; Bash and zsh are common shells.
Signal
A numbered message sent to a process, such as SIGTERM (15) or SIGKILL (9).
Standard error (stderr)
Stream 2, where a program writes error messages.
Standard output (stdout)
Stream 1, where a program writes its normal results.
sudo
A command that runs a single command with root privileges after confirming your own password.
systemd
The service manager on most modern Linux systems, controlled with systemctl.

T

Terminal
The window or program that displays text and sends your keystrokes to the shell.

Put these terms to work

The Linux Command Line Basics course uses every one of these terms in short lessons with instant-feedback questions. It takes about 130 minutes and ends with a free certificate of completion.

Start the course Course overview