Created
March 8, 2018 14:14
-
-
Save raresteak/8d4c03fe9f11ae783cac62dc678879f8 to your computer and use it in GitHub Desktop.
bash one liner nslookup from list of ip addresses
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for i in $(cat list.ips);do echo -n $i,;nslookup $i|grep name|awk {'print $4'}; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment