about script to check host reachability run just run as you run script usualy ./check-host.sh www.google.com report file will be generated in current working dir.