Created
November 17, 2022 12:04
-
-
Save Adam-Vandervorst/fce42243c7f4f423319050e0517f1e6f to your computer and use it in GitHub Desktop.
List all 1 and 2 character domain names
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 c2 in {a..z}; do | |
if ping -c 1 $c1$c2 > /dev/null 2>&1; then | |
echo $c1$c2 | |
fi | |
done | |
for c1 in {a..z}; do | |
for c2 in {a..z}; do | |
if ping -c 1 $c1$c2 > /dev/null 2>&1; then | |
echo $c1$c2 | |
fi | |
done | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment