A personal scratchpad of everyday shell one-liners, systemd patterns, and database reminders.
Quickly verify which processes bind external interfaces on modern Linux hosts:
sudo ss -tulnp | sort -k5
Keep emergency headroom available for package upgrades while preferring RAM during normal workloads:
sudo fallocate -l 1G /swapfile && sudo chmod 600 /swapfile sudo mkswap /swapfile && sudo swapon /swapfile sudo sysctl -w vm.swappiness=10
Vacuum old logs safely without restarting active daemons:
journalctl --disk-usage sudo journalctl --vacuum-size=100M
Currently working through Systems Performance (2nd Ed.), Designing Data-Intensive Applications, and RFC 9000 notes on QUIC transport evolution.