A new VPS is exciting right up until something stops working and you realise you do not know where to look. The good news is that you do not need to memorise half the Linux manual to manage a small server confidently. A smaller set of commands covers most day-to-day jobs.
Here are some of the best Linux commands every new VPS owner should know, along with why they matter.
Check system updates
apt update
apt upgrade
This is one of the most routine and most important maintenance tasks. Keep the package list fresh and apply security updates regularly.
See what is using disk space
df -h
du -sh *
These help answer two classic questions. Is the disk full, and which directory is causing the pain.
Inspect running services
systemctl status nginx
systemctl status mysql
Systemd status output is often the fastest route to understanding whether a service is running, failing or restarting in a loop.
Watch logs
journalctl -xe
tail -f /var/log/nginx/error.log
Logs tell you what actually happened, which is much better than guessing. Get comfortable reading them.
Check open ports
ss -tulpn
This shows which services are listening and can reveal forgotten daemons or unexpected exposure.
Final thoughts
You do not need hundreds of commands to become useful on Linux. Start with the ones that answer practical questions, and your confidence with a VPS will improve quickly.