Essential Linux commands 🫑

Here are the Linux Commands that will save you time and headaches Linux is not just an OS It is your foundation for real troubleshooting and automation Here are commands I still use all the time And how they help when things break

πŸ“‚ ls β€” list files
🚢cd β€” move between folders
πŸ—ΊοΈ pwd β€” see where you are
πŸ“„ touch β€” create empty files
πŸ“ mkdir β€” make new directories
πŸ—‘οΈ rm β€” delete old logs and junk
πŸ“¦ cp β€” copy files safely
🚚 mv β€” move or rename files
🐱 cat β€” read configs fast
πŸ” grep β€” search logs for errors
πŸ” chmod β€” fix permissions
🦸 sudo β€” run as root when you must
πŸ“Š ps β€” check what is running
πŸ“ˆ top β€” monitor CPU and memory live
πŸ“Š df β€” check disk space
🌐 ifconfig / ip addr β€” view network settings
πŸ“ ping β€” test connectivity
πŸ” ssh β€” connect to remote servers
πŸ“¦ tar β€” compress backups
πŸ“– man β€” read the manual when stuck

🧩 combine them too
ps aux | grep nginx β€” find processes
pgrep nginx β€” get PIDs
tar czf backup.tar.gz /etc && scp backup.tar.gz server β€” quick backup and copy

Save these and you will script faster Troubleshoot production with confidence And stay calm when things go sideways at 4am 🫣