UNIX Bash – Create Date/Time File Name
When you need to create a log file or some dated archive The format can be modified slightly based on date formatting.
When you need to create a log file or some dated archive The format can be modified slightly based on date formatting.
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…