100 Essential Linux Shell Commands Every Sysadmin Should Know
This article presents a curated list of 100 commonly used Linux/Unix shell commands, grouped by functionality such as file handling, searching, permissions, networking, process control, and more, each with a brief description and a practical example to help readers master command‑line operations.
Shell is the primary interface for interacting with Linux, Unix, and other Unix‑like operating systems, and it also serves as a powerful scripting environment. Familiarity with common shell commands is essential for system administration and automation.
File operation commands
ls: List directory contents. Example:
ls /home cd: Change the current directory. Example:
cd /home/user/Documents cat: Display the contents of a file. Example:
cat /etc/passwd more: View a file with pagination. Example:
more /var/log/syslog less: View a file with reverse pagination. Example:
less /var/log/syslog touch: Create an empty file or update a file’s timestamps. Example:
touch /home/user/newfile.txtOther command categories covered
Search commands (e.g., find, grep)
Directory operation commands (e.g., mkdir, rmdir)
Permission operation commands (e.g., chmod, chown)
Network operation commands (e.g., ping, ifconfig, netstat)
Process and system control commands (e.g., ps, top, kill)
Text operation commands (e.g., sed, awk)
Compression and decompression commands (e.g., tar, gzip, unzip)
Disk usage management commands (e.g., df, du)
Package management commands (e.g., apt, yum, pacman)
Process management commands (e.g., bg, fg, jobs)
Environment variable commands (e.g., export, env)
System information publishing commands (e.g., uname, uptime)
System control commands (e.g., shutdown, reboot)
Text editor commands (e.g., vi, nano)
Other common commands
Each command is introduced with a concise description and a usage example, providing a practical reference for beginners and experienced users alike.
Go Development Architecture Practice
Daily sharing of Golang-related technical articles, practical resources, language news, tutorials, real-world projects, and more. Looking forward to growing together. Let's go!
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
