These commands are more relevant when you have a VPS, giving you more control over the system.
df -h Disk Free. --Shows disk space usage in a human-readable format.
du -sh directory_name Disk Usage. --Shows the total size of a directory in a human-readable format.
top or htop --Displays real-time system resource usage (CPU, memory, etc.). Press q to quit. (htop might need to be installed: sudo apt update && sudo apt install htop or similar).
free -h --Shows memory usage in a human-readable format.
uptime --Shows how long the system has been running, the number of logged-in users, and the system load averages.
whoami --Shows your current username.
date --Displays the current date and time.
history --Shows a list of previously executed commands.
clear --Clears the terminal screen.
reboot --Restarts the server. Use with caution! (Usually requires sudo).
shutdown -h now --Shuts down the server immediately. Use with caution! (Usually requires sudo).