Linux Command Reference
Cheat sheet of common Linux terminal commands. Fast, free, and fully client-side.
| Command | Explanation |
|---|---|
| ls | List directory contents. |
| cd <path> | Change working directory. |
| pwd | Display path of active directory. |
| mkdir <name> | Create a new folder. |
| rm -rf <path> | Force remove directories/files recursively. |
| cp <src> <dest> | Copy files/folders. |
| mv <src> <dest> | Move or rename files. |
| grep "<pattern>" <file> | Filter matching lines containing pattern. |
How the Linux Command Reference Works
A fixed table of eight common Linux terminal commands, including ls, cd, pwd, mkdir, rm -rf, cp, mv, and grep, each with a short note on what it does. The commands are displayed only and are never executed. Runs in your browser and nothing is uploaded.
Usage Example
Recalls the flags for recursive, forced removal before cleaning a build directory, so the path can be double-checked first.
Frequently Asked Questions
Can I run a command from this page?
No. The entries are display text in a static table. The tool does not start a shell or touch files, so copy a command into your own terminal to run it.
Why is the list so short?
The reference covers only the eight commands in the table. Commands outside that set, such as find or chown, are not included, so check the manual page on your system for them.
Is rm -rf safe to copy?
rm -rf deletes a path and everything under it without a prompt, and there is no undo. Confirm the exact path before running it, especially when a variable expands into the path.
Browse more
See all developer reference guides and interactive utilities.
