2022-09-02

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:

June 2025

S M T W T F S
1 2 3 4 5 6 7
8 9 10 11 1213 14
15161718192021
22232425262728
2930     

Most Popular Tags

Expand Cut Tags

No cut tags