Essential Linux Commands Reference
Simple, easy-to-understand reference for Linux terminal commands. Every command page includes a TL;DR Quick Start, Step-by-Step Examples, and Cheat Sheets.
TL;DR — 10 Most Useful Commands
If you only learn 10 commands today, start with these:
| Command | Quick Explanation | Example Usage | Detailed Guide |
ls | See files in your folder | ls -lh | View Guide → |
cd | Move into another folder | cd /var/log | View Guide → |
pwd | Show your current folder path | pwd | View Guide → |
cp | Copy a file or folder | cp -r src/ dst/ | View Guide → |
mv | Move or rename a file | mv old.txt new.txt | View Guide → |
rm | Delete a file or folder | rm -i file.txt | View Guide → |
cat | Print file content on screen | cat /etc/os-release | View Guide → |
grep | Search text inside files | grep "error" app.log | View Guide → |
ps | See running programs | ps aux | View Guide → |
free | Check available memory (RAM) | free -h | View Guide → |
All Commands Categorized
File, Permissions & Directory Operations
File Viewing, Disk Storage & Editing
Searching & Filtering
| Command | Simple Explanation | Full Guide |
find | Find files by name, size, or date | Full Guide → |
grep | Search for specific words/patterns in text | Full Guide → |
awk | Extract columns and process structured text | Full Guide → |
sed | Find and replace text automatically | Full Guide → |
xargs | Pass search results into another command | Full Guide → |
Process, System & Service Control
| Command | Simple Explanation | Full Guide |
ps | List active programs running on your system | Full Guide → |
top | Live task manager showing CPU and RAM usage | Full Guide → |
htop | Colorful, interactive process task manager | Full Guide → |
kill | Stop a running program using its Process ID (PID) | Full Guide → |
killall | Stop all instances of a program by name | Full Guide → |
free | Check system memory (RAM) and swap usage | Full Guide → |
systemctl | Manage system services and background daemons | Full Guide → |
journalctl | Query and filter systemd binary logs | Full Guide → |
sudo | Execute commands with root privileges | Full Guide → |
Networking, DNS & Diagnostics
| Command | Simple Explanation | Full Guide |
ping | Test connection speed to a website or server | Full Guide → |
curl | Download files or send web requests | Full Guide → |
wget | Direct file downloader from the web | Full Guide → |
ssh | Connect securely to a remote Linux server | Full Guide → |
ip | Check your IP address and network interfaces | Full Guide → |
ss | Inspect listening TCP/UDP ports and sockets | Full Guide → |
dig | Perform DNS record lookups and traces | Full Guide → |
tcpdump | Capture and analyze network traffic packets | Full Guide → |