Linux
Linux Commands Cheat Sheet
The everyday Linux command set on one page: navigation, files, permissions, processes, networking, disk, and the pipes that glue them together.
Beginner6 min readPublished 2026-08-07Updated 2026-08-10By Computer Learning Academy Editorial Team
Linuxcommand lineterminalcheat sheetreference
Orientation
Files and directories
Finding things
Permissions
Permission string: -rwxr-xr-- = type, then owner / group / other triads of read, write, execute.
Numeric key: r=4, w=2, x=1, summed per triad — so 754 = rwx r-x r--.
Processes
System, services, and power
Networking
Pipes and redirection — the glue
Worked example — the five most common words in a file:
tr ' ' '\n' < essay.txt | sort | uniq -c | sort -rn | head -5
Package managers by family
The safety rules
pwd before anything destructive — know where you're standing.
- Preview any wildcard delete: run
ls with the same pattern before rm.
rm -rf is permanent. There is no undo, no trash.
- Quote paths with spaces:
"my file.txt".
- Read the error before reaching for
sudo.
Go deeper: every command here is taught hands-on in Linux Command Line Essentials. Save this page — it's built to be the tab you keep open.
Keep learning
Related content
LinuxBeginner
Get comfortable in a Linux terminal: navigate, manage files, understand permissions, chain commands with pipes, and know how to get unstuck.
Linuxcommand lineterminal
GitBeginner
The daily Git command set on one page: the status-add-commit loop, branching, remotes, undo at every stage, stash, and history archaeology.
Gitversion controlcheat sheet
Project StartersBeginner
Set up a clean Python project with a virtual environment — the classic way and the fast modern way.
Pythonvenvuv