Back to All Commands
Most Viewed
Favorites
Recently Viewed
linux Commands
System Management
systemctl
Control systemd system and service manager.
systemctl
Examples:
Start a servicesystemctl start nginx
systemctl status nginx
systemctl enable nginx
Logging
Process Management
ps
Report a snapshot of the current processes.
ps
Examples:
Show all processesps aux
ps -u username
ps -ejH
top
Display Linux processes in real-time.
top
Examples:
Start toptop
top -u username
Networking
netstat
Print network connections, routing tables, interface statistics.
netstat
Examples:
Show listening portsnetstat -tlnp
netstat -an
ss
Show socket statistics (modern replacement for netstat).
ss
Examples:
Show listening portsss -tlnp
ss -an
iptables
Administration tool for IPv4 packet filtering and NAT.
iptables
Examples:
List all rulesiptables -L -n -v
iptables -A INPUT -p tcp --dport 22 -j ACCEPT
Storage
File Management
Text Processing
sed
Stream editor for filtering and transforming text.
sed
Examples:
Replace text in filesed 's/old/new/g' file.txt
sed '/pattern/d' file.txt
awk
Pattern scanning and text processing language.
awk
Examples:
Print specific fieldawk '{print $1}' file.txt
awk '{sum += $1} END {print sum}' file.txt