Welcome to the ultimate command-line guide. Whether you are navigating Linux for the first time, managing a backend on a remote server, the terminal is your most powerful tool.
Mastering these commands will take you from a basic user to a power user, giving you total control over your hardware, your files, and your network. In this blueprint, we've broken down the essentials into three logical stages of mastery.
1-20: The Essentials (Used Daily)
These are your bread and butter for navigation and file management. These are the commands you will type almost every time you open a terminal emulator.
- ls – List directory contents
- cd – Change directory
- pwd – Print working directory
- mkdir – Create a new directory
- rm – Remove files or directories (
rm -rfor folders) - cp – Copy files or directories
- mv – Move or rename files
- touch – Create an empty file
- cat – Display full file content
- less – View file content one page at a time
- head / tail – View the start or end of a file
- grep – Search for text patterns within files
- find – Search for files in the system
- chmod – Change file permissions
- chown – Change file ownership
- sudo – Execute a command with root privileges
- clear – Clear the terminal screen
- history – Show your previous commands
- man – View the manual/documentation for a command
- exit – Close the terminal or log out
21-40: System & Network Tools
Used for monitoring your system resources and managing remote connections. These tools help you keep your Ryzen 5 running smoothly and your network secure.
- top / htop – View running processes and system resources
- ps – Snapshot of current processes
- kill – Terminate a process by ID
- df – Check disk space usage
- du – Check file/folder size
- free – Check memory (RAM) usage
- uname -a – Show system and kernel info
- ping – Test network connectivity
- ip addr – Display network interfaces and IP addresses
- ssh – Connect to a remote server
- scp – Securely copy files between servers
- curl / wget – Download files or data from the web
- tar – Compress or extract archive files (.tar.gz)
- zip / unzip – Manage .zip files
- alias – Create your own shortcuts for long commands
- apt / pacman / dnf – Install and manage software packages
- systemctl – Start/Stop system services
- journalctl – View system logs
- reboot / shutdown – Restart or turn off the computer
- whoami – Display the current logged-in user
41-70: Advanced & Power User Commands
These are for text processing, automation, and deeper system control. This is where you perform complex networking diagnostics and system-level repairs.
- awk – Powerful pattern scanning and processing
- sed – Stream editor for filtering and transforming text
- xargs – Build and execute commands from standard input
- tee – Read from input and write to both screen and file
- diff – Compare two files for differences
- sort – Sort lines of text files
- uniq – Remove duplicate lines from a list
- wc – Count lines, words, and characters
- ln -s – Create symbolic links (shortcuts)
- locate – Quickly find files by name (using a database)
- which – Show the path of an executable
- whereis – Locate the binary, source, and manual page
- crontab – Schedule tasks to run automatically
- bg / fg – Move processes to the background or foreground
- jobs – List active background jobs
- nohup – Run a command that stays alive after you log out
- screen / tmux – Terminal multiplexers (keep sessions open)
- lsof – List open files and the processes using them
- dmesg – View kernel ring buffer messages
- lsblk – List information about all block devices (disks)
- mount / umount – Mount or unmount storage devices
- chroot – Change the root directory (used in system repair)
- dd – Convert and copy files (often used to create bootable USBs)
- rsync – Fast, versatile remote/local file copying
- nc (netcat) – The "Swiss army knife" of networking
- dig / nslookup – DNS lookup tools
- traceroute – Trace the path packets take to a host
- uptime – See how long the system has been running
- watch – Execute a command repeatedly and watch the output change
- env – List environment variables