rsync Backup Shell Script for Linux (SSH, Retention and Cron)
Automate rsync backups on Linux with a Bash script: SSH key auth, --delete mirror option, log each run,…
Read tutorial →Browse step-by-step tutorials in this topic.
Automate rsync backups on Linux with a Bash script: SSH key auth, --delete mirror option, log each run,…
Read tutorial →
Use watch on Linux to rerun commands on an interval: watch -n 2 df -h, highlight changes with…
Read tutorial →
Understand umask on Linux: how 022 and 027 change new file and directory modes, set umask in shell…
Read tutorial →
Use dmesg on Linux for kernel ring buffer messages: dmesg -T timestamps, follow with -w, find OOM kills…
Read tutorial →
Learn tcpdump on Linux: choose interface, capture to pcap, BPF filters for host and port, read files with…
Read tutorial →
Use strace on Linux to see syscalls: trace open, connect, and read failures, attach to running PIDs, filter…
Read tutorial →
Use xargs on Linux to turn line input into command arguments: find -print0 | xargs -0, avoid word…
Read tutorial →
Increase open file limits on Linux: ulimit -n, soft vs hard limits, /etc/security/limits.conf, systemd LimitNOFILE=, prlimit, and verify…
Read tutorial →
Reboot or shut down Linux safely: reboot, shutdown -h now, systemctl reboot, schedule maintenance, warn users with wall,…
Read tutorial →
Master jq on Linux: install jq, select fields with dot notation, filter arrays, pipe curl and kubectl output,…
Read tutorial →