ehowton: (Computer)
for x in `cat hostnames`; do echo $(nslookup $x | grep -e Address | sed -n 2p | sed -r 's/.{9}//') $x ; done >> hostfile



for x in `cat hostnames`; do echo $(nslookup $x | grep -e Address | sed -n 2p | sed -r 's/.{9}//') $x $(echo $x | sed "s/\..*//") $(echo $x | sed "s/\..*//").homelab.local ; done >> hostfile
◾ Tags:

July 2025

S M T W T F S
   1234 5
6 7 8 910 1112
13 14 15 16171819
20212223242526
2728293031  

Most Popular Tags

Expand Cut Tags

No cut tags