Linux Cheat Sheet
Every Linux command in the library, on one page. Search, filter by category, or jump to a full command reference for detailed examples.
| Command | Syntax | Description | |
|---|---|---|---|
| ls | ls [-la] [<path>] | Lists directory contents. | |
| cd | cd <path> | Changes the current working directory. | |
| grep | grep [-r] [-i] <pattern> <file> | Searches text for lines matching a pattern. | |
| find | find <path> -name <pattern> | Searches a directory tree for files matching given criteria. | |
| chmod | chmod <mode> <file> | Changes a file or directory's permission bits. | |
| chown | chown <user>:<group> <file> | Changes the owning user and/or group of a file. | |
| ps | ps aux | Reports a snapshot of currently running processes. | |
| kill | kill [-9] <pid> | Sends a signal (by default SIGTERM) to a process, typically to stop it. | |
| top | top | Shows a live, continuously-updating view of running processes and system resource usage. | |
| df | df -h | Reports disk space usage for mounted filesystems. | |
| ssh | ssh <user>@<host> [-i <key-file>] | Opens a secure shell session on a remote host. |