Shell Scripts
Revision as of 04:00, 28 April 2015 by 96.49.64.135 (talk)
Make smokeping target file from DNS host file:
awk '{print "++ "$1 "\n" "menu = "$1 "\n" "title = "$1 "\n" "host = "$4 "\n"}' < hosts
Make smokeping target file from DNS host file:
awk '{print "++ "$1 "\n" "menu = "$1 "\n" "title = "$1 "\n" "host = "$4 "\n"}' < hosts