Admin Notes / Snippets
Snippets
Short commands worth keeping near the notes. These are quick checklists, not a replacement for documentation.
Network tables, RouterOS and Cisco / Linux commands
systemd: reload unit files
After editing a unit or override.
sudo systemctl daemon-reload
sudo systemctl restart myapp.service
systemctl status myapp.service --no-pagerDocker Compose: validate merged config
Before starting after a compose file edit.
docker compose config
docker compose up -d
docker compose psFind large directories
When disk space is gone and you need the growth source.
sudo du -xhd1 /var | sort -h
sudo du -xhd1 /srv | sort -hCheck listening ports
Local view only, no external scanners.
ss -tulpn
systemctl list-units --type=service --state=running