Linux Commands Cheat Sheet

Quick reference of common Linux commands with examples for beginners.
Command Library
347 commands
Command DetailsPick a command to see its details.

Search or browse the library, then pick a command to copy it. Each entry shows what the command does, whether it needs root and if it is risky.

Safety notes
RootCommands marked root need superuser privileges - run them with sudo or as root.
DangerCommands marked dangerous can destroy data or disrupt the system (rm -rf, dd, mkfs, iptables -F, kill -9). Double-check before running.
TipPreview a command with man before executing it, and test on a scratch machine first when in doubt.
Tool Introduction

This reference collects 534 everyday and modern Linux commands grouped into 30 categories - system information, files and directories, search, mounting, users and groups, permissions, archiving, package managers (RPM, YUM, DEB, APT, DNF), text processing, file systems, backup, networking, iptables, monitoring, systemd services and containers.

Each command is shown with a plain-English description, a root marker when superuser privileges are required, and a danger marker when running it can delete data or take the system down. The modern commands include ip, ss, systemctl, journalctl, dnf, apt, zstd, Docker, kubectl, jq and fast modern alternatives such as fd, ripgrep, bat, eza, btop and duf. Search works on the command text, the description and the category name.