Skip to content

Instantly share code, notes, and snippets.

@mnathani
Created August 27, 2017 05:38
Show Gist options
  • Save mnathani/1489c52641f14fc976cfef9a4cd82f46 to your computer and use it in GitHub Desktop.
Save mnathani/1489c52641f14fc976cfef9a4cd82f46 to your computer and use it in GitHub Desktop.
Multiple scripts not working
OUTPUT="$(dig $1)" &
WHOIS="$(whois $1)" &
wait
echo "<pre>"
echo "$OUTPUT"
echo "</pre>"
echo "Whois Output for" $1
echo "<pre>"
echo "$WHOIS"
echo "</pre>"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment