Shell Scripts

From HyperSecurity Wiki
Jump to: navigation, search

Make smokeping target file from DNS host file:

awk '{print "++ "$1 "\n" "menu = "$1 "\n" "title = "$1 "\n" "host = "$4 "\n"}' < hosts