CentOS | Code | Fedora | macOS | macOS Shell | Red Hat | Ubuntu | UNIX | UNIX Shell Scripts
UNIX Bash – Website Monitor
Reference: http://unix.stackexchange.com/questions/84814/health-check-of-web-page-using-curl
Reference: http://unix.stackexchange.com/questions/84814/health-check-of-web-page-using-curl
NOTE: Typically not a great idea for permanent production systems
When working with two or more servers it’s important to know that the files are the same on all servers involved. This script will assist in showing the differences between the servers without actually acting on the differences (will not copy any files). Key part of the command below is “-n, –dry-run perform a trial…