Difference between revisions of "Shell Scripts"

From HyperSecurity Wiki
Jump to: navigation, search
 
 
Line 1: Line 1:
 
Make smokeping target file from DNS host file:
 
Make smokeping target file from DNS host file:
  awk '{print "++ "$1 "\n" "menu = "$1 "\n" "host = "$4 "\n"}' < hosts
+
  awk '{print "++ "$1 "\n" "menu = "$1 "\n" "title = "$1 "\n" "host = "$4 "\n"}' < hosts

Latest revision as of 04:00, 28 April 2015

Make smokeping target file from DNS host file:

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