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:

September 2025

S M T W T F S
 1 2 3 4 56
789 1011 1213
14 1516 17 1819 20
21 2223 2425 2627
28 2930    

Most Popular Tags

Expand Cut Tags

No cut tags