TECHNICAL GUIDE

Use this guide as an implementation reference. Validate commands, policies and version-specific behaviour in a lab before applying changes to production systems.

System and process inspection

uname -a
hostnamectl
uptime
free -h
top
ps aux

Use these commands to understand the host, uptime, memory and running processes.

Files, permissions and storage

ls -lah
df -h
du -sh /var/log
lsblk
find /var/log -type f

Check filesystem capacity, identify large directories and inspect block devices before changing storage.

Networking and services

ip addr
ip route
ss -tulpn
systemctl status nginx
journalctl -u nginx --since today

These commands help inspect interfaces, routes, listening sockets and service logs.

Safe administration habits

Read command manuals with man, understand the impact of privileged commands, use configuration backups and test changes before applying them to production. Avoid copying destructive commands without understanding their targets.

Conclusion

A strong Linux administrator knows how to inspect before changing. These commands provide a foundation for troubleshooting, but always consult the manual and validate the effect of privileged operations.

Found this useful?