Mac OSX – Terminal – Read JSON From cURL
Prerequisite: OSX Homebrew
Posts in this category are specific to macOS and may not work on other UNIX based systems.
Prerequisite: OSX Homebrew
If you manage a list of domains it’s sometimes helpful to have a script like this to check the information from time to time. I plan to clean this up in time but for now this works. First create a text file like below that has domains in it Then create and run this bash/shell…
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
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…