Created
June 11, 2020 22:23
-
-
Save austintraver/9f4041d48c9ced19b7624c7bf78c62c1 to your computer and use it in GitHub Desktop.
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
<<- EOF > basicquery.txt | |
Today's date is $(date) | |
The user ${USER} is on host ${HOST} | |
This program launched on ${TTY} | |
EOF | |
for domain in ${<(./domain_names.txt)}; { | |
print "Performing DNS query on ${domain}" | |
dig ${domain} | |
} > output.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment