3 lines
137 B
Bash
3 lines
137 B
Bash
#!/bin/bash
|
|
host -l -ta sio.lan|awk 'BEGIN{ OFS=""; print "address,status,dns_name"} { print $4"/24,active,", $1 }'|sort -n > netbox.csv
|