Command index
432 commands in alphabetical order with links to the articles.
A
- aa-complain log only
- aa-enforce block again
- aa-status profiles and modes
- acl Flexible rights beyond rwx — getfacl/setfacl, per-user and per-group grants.
- add-apt-repository Installing, upgrading, and removing packages on Debian/Ubuntu; apt and dpkg.
- adduser interactive (Debian/Ubuntu)
- alias create
- ambientcapabilities Unit settings that strip a service of root, system writes and new privileges; systemd-analyze security rates them.
- anacron Running tasks on a schedule: crontab syntax, classic cron and modern systemd timers.
- ansible reach all machines
- ansible-galaxy Configures servers over SSH: from an inventory and playbooks it brings machines to a described state, no agent needed.
- ansible-inventory groups and machines
- ansible-playbook run
- ansible-vault Configures servers over SSH: from an inventory and playbooks it brings machines to a described state, no agent needed.
- apparmor Mandatory access control on Ubuntu — service profiles, enforce/complain modes.
- apropos How to quickly find a command's options: man, --help, apropos and tldr; how to read a man page.
- apt refresh the index, then install upgrades
- apt-cache package versions and which repo they come from
- apt-daily-upgrade Ubuntu's service that installs updates from allowed origins once a day on an apt timer; by default only security ones.
- apt-get Installing, upgrading, and removing packages on Debian/Ubuntu; apt and dpkg.
- at in 30 minutes
- atq show the job queue
- atrm remove job #5
- auditctl watch a file
- auditd Kernel-level auditing — who did what and when; watch rules and event search.
- aureport Kernel-level auditing — who did what and when; watch rules and event search.
- ausearch by key, readable
- awk the first field of every line
B
- basename c.txt
- bash shell version
- batch Run a command once at a given time — unlike cron's recurring schedule.
- bg resume job 1 in the background
- bind9 Running your own DNS — zones, records, config checks, resolving debug.
- blkid every device with a filesystem
- bond Logical networks over a cable and combining NICs into one interface; the bond mode must match the switch's config.
- bonding Logical networks over a cable and combining NICs into one interface; the bond mode must match the switch's config.
C
- cap_net_bind_service Parts of root's rights: a process or a file gets only the one it needs, e.g. CAP_NET_BIND_SERVICE for a low port.
- capability Parts of root's rights: a process or a file gets only the one it needs, e.g. CAP_NET_BIND_SERVICE for a low port.
- capabilityboundingset Unit settings that strip a service of root, system writes and new privileges; systemd-analyze security rates them.
- capsh mask → names
- cat print a file
- cd go into a directory
- certbot A TLS certificate binds a server key to a site name; openssl reads its fields, checks the chain and issues a new one.
- cgroup Isolation (namespaces) and resource limits (cgroups) — the foundation of containers and systemd.
- cgroups Isolation (namespaces) and resource limits (cgroups) — the foundation of containers and systemd.
- chage inspect your training account
- chdir Moving around the filesystem: cd, cd -, cd ~, cd .., pushd/popd, CDPATH.
- chgrp change only the group
- chmod rw-r--r--
- choom score and adjustment of a process
- chown owner and group
- chpasswd The passwd command changes your own password; as root it sets, locks and shows the passwords of other users.
- chronyc is the clock in sync, and how close
- chronyd An NTP client and server: keeps the system clock in step with time servers and can serve time to your machines.
- cifs An SMB server for Windows-compatible shares; the SMB password is separate from the system one, easy to forget to set.
- clear Navigation and files — ls, cd, cp, mv, rm, cat, less, head, tail, terminal copy-paste.
- cmp Comparing files and applying patches: diff two configs, see what changed, apply a patch.
- colordiff Comparing files and applying patches: diff two configs, see what changed, apply a patch.
- column align into a table
- comm the intersection of two files
- command a path or nothing (for scripts)
- compose docker compose describes a container stack with network, volumes and variables in compose.yaml and starts it at once.
- compose.yaml docker compose describes a container stack with network, volumes and variables in compose.yaml and starts it at once.
- conntrack connections
- cp a copy next to it, another name
- createdb PostgreSQL is a relational DBMS: roles and databases, pg_hba.conf access rules, pg_dump dumps and pg_restore restores.
- cron Running tasks on a schedule: crontab syntax, classic cron and modern systemd timers.
- crontab edit your own crontab
- curl code, headers, body
- cut first field, ":" delimiter
D
- date 2026-06-30 (=%Y-%m-%d)
- declare A script is a text file of shell commands: the #! line picks the interpreter, arguments arrive in $1, $2 and "$@".
- default.target A target is a group of units systemd brings the boot up to; rescue and emergency are the targets for repairs.
- depmod Kernel modules: loading and unloading with modprobe, kernel messages in dmesg, module parameters.
- df free space per partition
- dhcp Handing out addresses on a network — pool, reservations, leases, diagnostics.
- dhcpd check the config
- diff readable differences
- dig a quick answer (IP only)
- dir The ls command lists files and directories with permissions, owner, size and modification time, hidden ones too.
- dirname /a/b
- disown Running things in the background, shell job control, surviving logout.
- dmesg latest messages, with time
- docker background
- docker-build A Dockerfile is an image recipe: base, files, build and start commands; docker build turns it into an image.
- docker-compose docker compose describes a container stack with network, volumes and variables in compose.yaml and starts it at once.
- docker-compose.yml docker compose describes a container stack with network, volumes and variables in compose.yaml and starts it at once.
- docker-history An image is a read-only stack of layers with files and run settings; Docker creates containers from it.
- docker-image An image is a read-only stack of layers with files and run settings; Docker creates containers from it.
- docker-images An image is a read-only stack of layers with files and run settings; Docker creates containers from it.
- docker-inspect Docker runs programs in isolated containers started from images and manages their ports, volumes and networks.
- docker-load An image is a read-only stack of layers with files and run settings; Docker creates containers from it.
- docker-network Docker runs programs in isolated containers started from images and manages their ports, volumes and networks.
- docker-rmi An image is a read-only stack of layers with files and run settings; Docker creates containers from it.
- docker-save An image is a read-only stack of layers with files and run settings; Docker creates containers from it.
- dockerd Docker runs programs in isolated containers started from images and manages their ports, volumes and networks.
- dockerfile A Dockerfile is an image recipe: base, files, build and start commands; docker build turns it into an image.
- dockerignore A Dockerfile is an image recipe: base, files, build and start commands; docker build turns it into an image.
- dpkg which files a package brought in
- du top directories (within one filesystem)
- dynamicuser Unit settings that strip a service of root, system writes and new privileges; systemd-analyze security rates them.
E
- e2fsck Filesystems: creating one with mkfs, labels and UUIDs, fsck checks, choosing between ext4 and xfs.
- echo with variable expansion
- edquota interactively, in an editor
- emergency.target A target is a group of units systemd brings the boot up to; rescue and emergency are the targets for repairs.
- env all environment variables
- ethtool Speed/Duplex/Link
- exit leave a script with code 1
- export for the current session + children
- exportfs Network directories over NFS — exporting on the server, mounting on the client, permissions.
F
- faillock alice's failed logins
- false 1 0 — code of every stage
- fdisk the disk's partition table
- fg bring job 1 to the foreground
- file type by content
- find exact name, search from /etc
- findfs The blkid command prints the UUID, label and type of the filesystem on a device — what goes into /etc/fstab.
- findmnt the mount tree
- firewall The Linux firewall: filtering traffic with simple ufw and low-level nftables, checking the rules.
- flock busy — exit with code 1
- fold Small pipeline utilities; uniq only removes adjacent duplicates, so it almost always needs sort before it.
- free memory and swap; the reserve is available
- fsck Filesystems: creating one with mkfs, labels and UUIDs, fsck checks, choosing between ext4 and xfs.
- fuser lsof shows which process holds a file, a port, or a deleted file that is still open.
G
- gawk sed edits and deletes lines by pattern, awk splits lines into fields and computes over them, line by line.
- getcap files with capabilities
- getent how the system actually resolves it (for apps)
- getfacl show ACL (+ in ls -l)
- getopts A script is a text file of shell commands: the #! line picks the interpreter, arguments arrive in $1, $2 and "$@".
- getpcaps capabilities of a process by PID
- git what changed, which branch
- glob Shell substitutions — * ? [] {} — and how they differ from regular expressions.
- globbing Shell substitutions — * ? [] {} — and how they differ from regular expressions.
- gpasswd The usermod command changes an existing account — groups, login shell, home directory, name and locking.
- gpg encrypt symmetrically (with a passphrase)
- gpg2 GnuPG: GPG keys, encrypting files, signing and verifying, symmetric mode with a passphrase.
- grep case-insensitive
- groupadd Linux accounts and groups; usermod -G without -a replaces all of a user's supplementary groups instead of adding one.
- groups Linux accounts and groups; usermod -G without -a replaces all of a user's supplementary groups instead of adding one.
- grub How Linux boots: firmware, the GRUB bootloader, the kernel, systemd targets and emergency mode.
- grub-install reinstall the bootloader
- grub-mkconfig How Linux boots: firmware, the GRUB bootloader, the kernel, systemd targets and emergency mode.
- gunzip Packs files into a compressed archive; an archive with no top directory dumps its files into the current directory.
- gzip Packs files into a compressed archive; an archive with no top directory dumps its files into the current directory.
H
- hardening Unit settings that strip a service of root, system writes and new privileges; systemd-analyze security rates them.
- hash display remembered paths
- head the first 10 lines
- help help for a bash builtin
- history Navigation and files — ls, cd, cp, mv, rm, cat, less, head, tail, terminal copy-paste.
- host How a name becomes an IP — resolv.conf, systemd-resolved, /etc/hosts, dig.
- hostname current name
- hostnamectl name + machine info
- htop The top program refreshes the process list, CPU load, memory and load average every few seconds.
- hwclock Manages system time and NTP; set-time requires turning off set-ntp first, or the time reverts.
I
- id uid/gid/groups
- ifconfig Manage interfaces, addresses and routes (iproute2) — the replacement for ifconfig/route.
- image-digest An image is a read-only stack of layers with files and run settings; Docker creates containers from it.
- info How to quickly find a command's options: man, --help, apropos and tldr; how to read a man page.
- insmod Kernel modules: loading and unloading with modprobe, kernel messages in dmesg, module parameters.
- ionice Viewing processes, signals and priorities; finding the processes that hog CPU or memory.
- iostat disks: tps, kB/s, await, aqu-sz, %util
- ip addresses, brief
- iptables read the rules
- iptables-restore The classic Linux firewall — chains, rules, NAT, and why nftables replaced it.
- iptables-save The classic Linux firewall — chains, rules, NAT, and why nftables replaced it.
- isc-dhcp-server Handing out addresses on a network — pool, reservations, leases, diagnostics.
J
- jobs list background jobs + PID
- journalctl tail a service's logs
- jq pretty-print
K
L
- last the last 20 logins
- less open a file; q to quit
- libvirt Virtual machines on Linux — managed with virsh, networks, storage, console.
- ll The ls command lists files and directories with permissions, owner, size and modification time, hidden ones too.
- ln symlink (order like cp)
- loadavg The average number of tasks running or waiting for a CPU (R) or for the kernel (D) over 1, 5 and 15 minutes.
- locale current settings
- locale-gen generate one
- localectl the systemd view
- logger write a test entry to syslog
- losetup attach it: /dev/loop0
- ls contents of the current directory
- lsblk tree: disks → partitions → LVM/RAID
- lslocks who holds which locks
- lsmod loaded modules
- lsof who's on this port
- ltrace strace shows the system calls of a program and their results: a file that did not open, a failed connect, a wait.
- lvcreate a snapshot
- lvextend extend the LV+fs onto all free space
- lvm LVM: physical volumes, volume groups and logical volumes (PV → VG → LV), extending and snapshots.
- lvresize LVM: physical volumes, volume groups and logical volumes (PV → VG → LV), extending and snapshots.
- lvs logical volumes
M
- mailq what's in the queue
- man the full manual
- mc A two-panel file manager for the terminal: navigation, copying, an editor, SFTP.
- mcedit A two-panel file manager for the terminal: navigation, copying, an editor, SFTP.
- mcview A two-panel file manager for the terminal: navigation, copying, an editor, SFTP.
- md Creating directories: -p (with parents), -m (permissions right away), brace expansion, rmdir.
- mkdir a chain of directories
- mke2fs The mkfs command creates an empty ext4 or xfs filesystem on a partition; the old data on it becomes unreachable.
- mkfs the same through mkfs -t
- mkfs.ext4 ext4 on a partition
- mkfs.xfs xfs with a label
- mkswap How to read free: used and free memory, the page cache and available; swap, a swap file and vm.swappiness.
- modinfo info about a module
- modprobe load a module
- more The less pager shows a long file or command output screen by screen — scroll, search by word, follow the end.
- mount apply fstab without a reboot (a check!)
- mpstat load of each CPU
- mtr path + loss (a report)
- multi-user.target A target is a group of units systemd brings the boot up to; rescue and emergency are the targets for repairs.
- mv rename
N
- named Running your own DNS — zones, records, config checks, resolving debug.
- named-checkconf check named.conf syntax
- namei type, mode, owner of each part
- namespaces Isolation (namespaces) and resource limits (cgroups) — the foundation of containers and systemd.
- nano open/create a file
- nc is the port open? (refused vs timed out)
- ncat Checking whether ports are reachable, simple data transfer over TCP/UDP.
- ncdu interactive overview
- needrestart who needs a restart
- netcat Checking whether ports are reachable, simple data transfer over TCP/UDP.
- netstat Shows who is listening on ports and which connections are open; a netstat replacement, faster with many connections.
- network-online.target A target is a group of units systemd brings the boot up to; rescue and emergency are the targets for repairs.
- newgrp Linux accounts and groups; usermod -G without -a replaces all of a user's supplementary groups instead of adding one.
- nfs Network directories over NFS — exporting on the server, mounting on the client, permissions.
- nft low level
- nftables The Linux firewall: filtering traffic with simple ufw and low-level nftables, checking the rules.
- nice Viewing processes, signals and priorities; finding the processes that hog CPU or memory.
- nl Small pipeline utilities; uniq only removes adjacent duplicates, so it almost always needs sort before it.
- node_exporter Collecting metrics with a pull model — targets, PromQL, exporters, alerts.
- nohup survive logout
- nologin A login-shell replacement that reports refusal and exits instead of opening an interactive shell.
- nonewprivileges Unit settings that strip a service of root, system writes and new privileges; systemd-analyze security rates them.
- nproc CPU count to compare with
- nsenter enter all namespaces of a process
- nslookup How a name becomes an IP — resolv.conf, systemd-resolved, /etc/hosts, dig.
- ntp An NTP client and server: keeps the system clock in step with time servers and can serve time to your machines.
O
- oom A kernel mechanism: when memory runs out on the machine or in a cgroup with a limit, it kills a process with SIGKILL.
- oom_score_adj A kernel mechanism: when memory runs out on the machine or in a cgroup with a limit, it kills a process with SIGKILL.
- oomkilled A kernel mechanism: when memory runs out on the machine or in a cgroup with a limit, it kills a process with SIGKILL.
- openssl names
P
- pam-auth-update turn on pwquality
- pam.d The module stack in /etc/pam.d decides whether to let a user in, which password to accept and when to lock them out.
- pam_faillock The module stack in /etc/pam.d decides whether to let a user in, which password to accept and when to lock them out.
- pam_pwquality The module stack in /etc/pam.d decides whether to let a user in, which password to accept and when to lock them out.
- parted the same with parted
- partprobe kernel re-reads the table
- passwd change your own password
- paste Small pipeline utilities; uniq only removes adjacent duplicates, so it almost always needs sort before it.
- patch apply the patch
- path Environment variables: env, export, $PATH, ~/.bashrc and profiles; where "command not found" comes from.
- permissions The Unix permission model — read/write/execute, owner/group/other, special bits.
- pg_dump PostgreSQL is a relational DBMS: roles and databases, pg_hba.conf access rules, pg_dump dumps and pg_restore restores.
- pg_lsclusters version, port, status
- pg_restore PostgreSQL is a relational DBMS: roles and databases, pg_hba.conf access rules, pg_dump dumps and pg_restore restores.
- pgrep PIDs of processes with nginx in the name
- pidof PIDs by exact program name
- pidstat who reads and writes, full command
- ping three requests and a summary; else Ctrl+C
- ping6 The ping command sends ICMP echo requests to a host and prints replies, latency and loss — the first network check.
- pkill by a command-line pattern
- popd go back to the previous one from the stack
- port-scan A port scanner: shows which ports of a machine are open, closed or filtered, as another machine sees them.
- postconf the effective config
- postfix Sending and receiving mail — config, the queue, logs, typical delivery debugging.
- postgres PostgreSQL is a relational DBMS: roles and databases, pg_hba.conf access rules, pg_dump dumps and pg_restore restores.
- postgresql PostgreSQL is a relational DBMS: roles and databases, pg_hba.conf access rules, pg_dump dumps and pg_restore restores.
- postqueue force the queue to flush
- printenv a single variable
- printf a reliable way to print a string
- prlimit change on the fly
- proc /proc is a filesystem where the kernel shows processes (/proc/<pid>) and its own state: memory, load, parameters.
- procfs /proc is a filesystem where the kernel shows processes (/proc/<pid>) and its own state: memory, load, parameters.
- prometheus Collecting metrics with a pull model — targets, PromQL, exporters, alerts.
- promtool check the config
- protectsystem Unit settings that strip a service of root, system writes and new privileges; systemd-analyze security rates them.
- ps processes of this terminal
- psql TCP login with a password
- pushd go there, remembering the old directory on a stack
- pvcreate LVM: physical volumes, volume groups and logical volumes (PV → VG → LV), extending and snapshots.
- pvs physical volumes
- pwd current path
- pwquality The module stack in /etc/pam.d decides whether to let a user in, which password to accept and when to lock them out.
- pwscore The module stack in /etc/pam.d decides whether to let a user in, which password to accept and when to lock them out.
Q
R
- read A script is a text file of shell commands: the #! line picks the interpreter, arguments arrive in $1, $2 and "$@".
- readlink the real path
- realpath an absolute path
- reboot-required Ubuntu's service that installs updates from allowed origins once a day on an apt timer; by default only security ones.
- redis Cache, queues, and sessions in RAM; KEYS * blocks the server on large databases — use --scan instead.
- redis-cli check the server is alive (expect PONG)
- redis-server Cache, queues, and sessions in RAM; KEYS * blocks the server on large databases — use --scan instead.
- regex A regular expression is a pattern that many strings match; grep searches by it, sed replaces by it, awk selects lines.
- regexp A regular expression is a pattern that many strings match; grep searches by it, sed replaces by it, awk selects lines.
- renice a running process's priority
- repquota a report for the filesystem
- rescue.target A target is a group of units systemd brings the boot up to; rescue and emergency are the targets for repairs.
- resize2fs ext4: fill all free space in the volume
- resolvectl DNS servers and search domains
- restic create the repository, once
- rm delete a file
- rmdir remove an empty one
- rmmod Kernel modules: loading and unloading with modprobe, kernel messages in dmesg, module parameters.
- rndc apply (or systemctl reload named)
- route Manage interfaces, addresses and routes (iproute2) — the replacement for ifconfig/route.
- rsync sync (changes only, with progress)
- rsyslog Writes text logs to /var/log and forwards them over the network; it does not rotate them itself, that's logrotate's job.
- rwx The Unix permission model — read/write/execute, owner/group/other, special bits.
S
- samba An SMB server for Windows-compatible shares; the SMB password is separate from the system one, easy to forget to set.
- sar The order of checks for "the server is slow": CPU, memory, disk, kernel and network — what shows each resource.
- scp copy a file to the server
- screen new named session
- sed preview the changed lines
- setcap give a file
- setfacl grant a user
- setgid Special permission bits: setuid and setgid run a program as its owner; setgid and sticky shape shared directories.
- setquota soft/hard limits on space
- setsid Running things in the background, shell job control, surviving logout.
- setuid Special permission bits: setuid and setgid run a program as its owner; setgid and sticky shape shared directories.
- sfdisk fdisk and parted write a partition table (GPT or MBR) and partitions to a disk; parted -s runs without prompts.
- sftp A client for logging in and copying files over SSH; host aliases in ~/.ssh/config remove repeated connection parameters.
- sgid Special permission bits: setuid and setgid run a program as its owner; setgid and sticky shape shared directories.
- sh A script is a text file of shell commands: the #! line picks the interpreter, arguments arrive in $1, $2 and "$@".
- shellcheck check a script
- showmount Network directories over NFS — exporting on the server, mounting on the client, permissions.
- sleep pause for one second
- smb An SMB server for Windows-compatible shares; the SMB password is separate from the system one, easy to forget to set.
- smbclient list shares
- smbpasswd set an SMB password (separate from the system one!)
- snap installed packages
- snapd Ubuntu's second package format with auto-update; snap revert rolls back to the previous version, kept by snap itself.
- sort alphabetical order
- source reload without a new login
- ss listening ports + who
- ssh connect
- ssh-add load into the agent
- ssh-agent Key pairs for passwordless login; sshd rejects ~/.ssh if it is writable by the group or by others.
- ssh-copy-id install it on the server
- ssh-keygen generate a pair
- ssh-keyscan the host's public keys (to stdout)
- sshd check config syntax
- sshd_config The OpenSSH server; edit the config with a second session open — a mistake in PermitRootLogin locks you out immediately.
- ssl A TLS certificate binds a server key to a site name; openssl reads its fields, checks the chain and issues a new one.
- stat everything
- sticky Special permission bits: setuid and setgid run a program as its owner; setgid and sticky shape shared directories.
- strace all calls of a command
- stress stress-ng puts load on the CPU, memory and disk for a set time — for experiments with load, OOM and disk I/O.
- stress-ng 2 processes load the CPU
- su Linux accounts and groups; usermod -G without -a replaces all of a user's supplementary groups instead of adding one.
- sudo Grants temporary root rights via sudoers; edit the file only through visudo, or a mistake locks everyone out of sudo.
- sudoers Grants temporary root rights via sudoers; edit the file only through visudo, or a mistake locks everyone out of sudo.
- suid Special permission bits: setuid and setgid run a program as its owner; setgid and sticky shape shared directories.
- swapfile How to read free: used and free memory, the page cache and available; swap, a swap file and vm.swappiness.
- swapoff How to read free: used and free memory, the page cache and available; swap, a swap file and vm.swappiness.
- swapon active swap; empty means no swap
- symlink Symlinks (ln -s) and hard links: how they differ, when to use which, common mistakes with relative paths.
- sysctl read a parameter
- syslog Writes text logs to /var/log and forwards them over the network; it does not rotate them itself, that's logrotate's job.
- sysstat iostat shows disk load — requests, latency, %util; pidstat shows CPU, memory and disk usage per process.
- systemctl state, no pager
- systemd-analyze how long the boot took
T
- tac lines in reverse order
- tail the last 10 lines
- tar create (gzip)
- tcpdump port 80, no resolving
- tee Splits a stream: writes to a file AND shows it on screen; sudo tee to write into protected files.
- test test and [ ] check a file, a string or a number and answer with a code: 0 is yes, 1 is no; [[ ]] is the bash version.
- timedatectl time, time zone, sync status
- tldr examples, if available
- tls A TLS certificate binds a server key to a site name; openssl reads its fields, checks the chain and issues a new one.
- tmux new named session
- top a live process list; q to quit
- touch create an empty file / update its time
- tr case conversion
- tracepath A ladder of connectivity checks — from the gateway to DNS and the destination port.
- traceroute trace over a TCP port (when ICMP is blocked)
- trap A script is a text file of shell commands: the #! line picks the interpreter, arguments arrive in $1, $2 and "$@".
- tree Navigation and files — ls, cd, cp, mv, rm, cat, less, head, tail, terminal copy-paste.
- true An exit code is a number from 0 to 255 that a command reports: 0 means success, anything else a failure or a "no".
- tty Compare load average to the core count (nproc), not an absolute threshold — the three numbers mean nothing without it.
- tune2fs shrink the root reserve to 1%
- type alias/builtin/function/file — every match
U
- ufw SSH FIRST
- ulimit all limits of the shell
- umask the current mask: 0002 or 0022
- umount Mounting filesystems: the mount command, persistent mounts in /etc/fstab, UUIDs and options.
- unalias remove
- uname kernel name
- unattended-upgrade what it would install
- uniq The uniq command collapses adjacent identical lines and counts them with -c; sort almost always comes before it.
- unlink The rm command deletes files and directories at once, with no trash; -i and -I ask first, -r removes a tree.
- unset Environment variables: env, export, $PATH, ~/.bashrc and profiles; where "command not found" comes from.
- unshare Isolation (namespaces) and resource limits (cgroups) — the foundation of containers and systemd.
- untar Packs files into a compressed archive; an archive with no top directory dumps its files into the current directory.
- update-ca-certificates trust the CA
- update-grub after editing /etc/default/grub
- uptime uptime and load average
- useradd with a home directory and bash
- userdel Linux accounts and groups; usermod -G without -a replaces all of a user's supplementary groups instead of adding one.
- usermod add a user to a group, keep others
- users Compare load average to the core count (nproc), not an absolute threshold — the three numbers mean nothing without it.
V
- vgcreate LVM: physical volumes, volume groups and logical volumes (PV → VG → LV), extending and snapshots.
- vgs volume groups
- vi The bare minimum for editing configs; Esc always returns to Normal mode, where letters are commands, not text.
- vim The bare minimum for editing configs; Esc always returns to Normal mode, where letters are commands, not text.
- virsh all VMs
- virt-install Virtual machines on Linux — managed with virsh, networks, storage, console.
- visudo the main /etc/sudoers
- vlan Logical networks over a cable and combining NICs into one interface; the bond mode must match the switch's config.
- vmstat queue, memory, swap, disk, CPU
W
- w who's on the system and what they're doing now
- wait wait for its result
- watch every second, highlight changes
- wc lines, words, bytes and the name
- wg generate keys
- wg-quick bring the tunnel up
- wget download it
- whatis How to quickly find a command's options: man, --help, apropos and tldr; how to read a man page.
- whereis binary + man page + sources
- which just the path to the file
- who who's logged in, in detail
- whoami effective user
- whois a domain (registrar, expiry, NS)
- wildcard Shell substitutions — * ? [] {} — and how they differ from regular expressions.
- wireguard A fast VPN on a key pair instead of passwords; the private key in wg0.conf needs permissions, like an SSH key.
X
- xargs Turns stdin lines into a command's arguments; without -0, file names with spaces and newlines break the parsing.
- xfs_growfs xfs: mountpoint, not the device!
- xfs_repair check xfs
Nothing found. Try a shorter query.