Ping Monitor Shell Script for Linux (Host Down Alert, Cron)
Monitor remote hosts with a Bash ping script: packet loss threshold, email when down, cooldown between alerts, and…
Read tutorial →Browse step-by-step tutorials in this topic.
Monitor remote hosts with a Bash ping script: packet loss threshold, email when down, cooldown between alerts, and…
Read tutorial →
Use a Bash script with pgrep to verify nginx, mysqld, or any daemon is running — exit 1…
Read tutorial →
Backup a Linux directory with tar.gz in a shell script: timestamped archives, optional exclude patterns, test tarball integrity,…
Read tutorial →
Monitor Linux load average with a Bash script: compare to CPU count, email when hot, attach top snapshot,…
Read tutorial →
Delete old files safely on Linux with a Bash script: find -mtime retention, DRY_RUN preview, path allowlist, log…
Read tutorial →
Block until a TCP port is open on Linux: Bash wait-for-port script with timeout, sleep interval, and use…
Read tutorial →
Automate rsync backups on Linux with a Bash script: SSH key auth, --delete mirror option, log each run,…
Read tutorial →
Use nohup on Linux to keep long jobs running after you disconnect: nohup command &, redirect output, disown,…
Read tutorial →
Create Bash aliases on Linux: add to ~/.bashrc, source changes, useful examples, avoid dangerous rm aliases, system-wide /etc/profile.d,…
Read tutorial →
Use a Certbot deploy hook shell script on Linux to run nginx -t and reload only when certificates…
Read tutorial →