← Glossary

Linux Commands

87 commands drawn from the glossary. Click any name for the full definition, usage and chapter references.

/etc/passwdThe file listing user accounts and their basic attributes
AliasA shell shortcut that expands to a longer command
aptThe high-level package manager for Debian and Ubuntu
awkA pattern-scanning and processing language for structured text
bashThe GNU Bourne Again Shell, the default shell of most Linux distributions
catConcatenate files to standard output
cdChange the current working directory
chmodChange the permissions of files and directories
chownChange the owner and group of a file or directory
cpCopy files and directories
curlA command-line tool for transferring data with URLs
cutExtract sections (fields or characters) from each line of input
digDNS lookup utility (domain information groper)
dmesgCommand and ring buffer holding kernel log messages
dnfThe modern high-level package manager for Fedora and RHEL
DockerThe container platform that popularised the technology
dpkgThe low-level Debian package manager
echoPrint arguments to standard output
EmacsA highly extensible, self-documenting text editor
envRun a command with a modified environment, or print the environment
exportMark a shell variable for export to child processes
fgBring a background job to the foreground
findSearch for files in a directory tree by name, type, size, time, or other criteria
fishThe friendly interactive shell, optimised for usability out of the box
FlatpakA cross-distribution packaging format for Linux desktop applications
freeDisplay free and used memory
gccThe GNU Compiler Collection: a C/C++/Fortran/Ada compiler suite
GitThe distributed version control system that underlies most modern software development
grepA tool for searching text using patterns
headPrint the first N lines of input
hostSimple DNS lookup utility
htopAn interactive process viewer, more user-friendly than top
ifconfigLegacy network interface configuration tool
iostatReport CPU and block device I/O statistics
ipModern tool for configuring network interfaces, addresses, and routes
iptablesThe classic Linux firewall command, configuring kernel packet filtering
journalctlThe command-line interface to systemd's binary journal logs
killSend a signal to a process
killallKill processes by name instead of PID
lessAn interactive pager for viewing text files one screen at a time
locateFind files by name using a prebuilt database
lsList files and directories
makeBuild-automation tool driven by a Makefile
moreLegacy pager: one screen at a time
mountThe operation (and command) that attaches a filesystem to a directory in the tree
mvMove or rename files and directories
nanoA friendly, modeless text editor for the terminal
netstatLegacy tool for showing network connections, routes, and statistics
niceA value that biases CPU scheduling priority of a process
nohupRun a command immune to hangups
nslookupInteractive DNS lookup tool, now largely superseded
pacmanThe package manager of Arch Linux
passwdChange a user's password
pingSend ICMP echo requests to test network reachability
PodmanA daemonless, rootless container engine developed by Red Hat
psReport a snapshot of current processes
pwdPrint the current working directory
rmRemove files and directories
rpmThe RPM Package Manager, used by Red Hat, Fedora, and SUSE
rsyncFast, incremental file-transfer and synchronisation tool
scpCopy files between hosts over SSH
sedA stream editor for text transformation
SnapA cross-distribution packaging format developed by Canonical
sortSort lines of text
ssSocket statistics; a modern replacement for netstat
SSHThe Secure Shell protocol for authenticated, encrypted remote access
sshSecure shell, encrypted remote login and command execution
statDisplay detailed information about a file
sudoRun a command as another user, typically root, after authentication
systemctlThe command-line client for controlling systemd
tailPrint the last N lines of input, optionally following a file as it grows
teeA command that reads stdin and writes it to both stdout and one or more files
topDynamic real-time view of running processes and system resource usage
trTranslate or delete characters
tracerouteDisplay the route packets take to reach a host
umaskA bitmask that removes default permissions from newly created files
uniqFilter out or count adjacent duplicate lines
uptimeShow how long the system has been running and the load average
useraddLow-level command for creating user accounts
viThe classic Unix visual editor, ancestor of Vim
VimVi IMproved, the dominant terminal text editor on Linux
vimThe Vi IMproved modal text editor
vmstatReport virtual memory, CPU, and I/O statistics at a chosen interval
wcWord, line, character, and byte counter
wgetA command-line tool for downloading files over HTTP, HTTPS, and FTP
xargsBuild and execute command lines from stdin
zshA powerful interactive shell with extensive customisation and plug-in ecosystem
Textbook of Linux — Learn Linux on iPhone — Download on the App Store