rsync Backup on Debian 13 and Ubuntu: Commands and Examples

rsync Backup on Debian 13 and Ubuntu: Commands and Examples

rsync copies only what changed between a source and a destination, so it is the standard tool for backing up a folder on Debian or Ubuntu. The safe routine is: run the command with -n (dry run) first, then run it for real. This guide uses one test folder and shows the...
How to Check CPU Usage and Info on Debian 13 and 12

How to Check CPU Usage and Info on Debian 13 and 12

Quick answer: run uptime to see the load average, then top (press P to sort by CPU, 1 to show each core) to see who is using the processor. Compare the load average with the number of cores from nproc: a load above the core count for a sustained period means work is...
How to Check Disk Space on Debian 13 and 12 (df, du, ncdu)

How to Check Disk Space on Debian 13 and 12 (df, du, ncdu)

To check disk space on Debian 13 (Trixie) or Debian 12 (Bookworm), run df -hT to see how full each filesystem is, then sudo du -xh –max-depth=1 / | sort -rh | head to see which top-level directory is using it. Repeat the du command one level deeper until you...