Skip to content

Instantly share code, notes, and snippets.

@gocs
Created July 29, 2022 03:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gocs/4caf3061a5f273633e15faa442b1a577 to your computer and use it in GitHub Desktop.
Save gocs/4caf3061a5f273633e15faa442b1a577 to your computer and use it in GitHub Desktop.
print for available tlds
#!/usr/bin/env bash
curl -SsfL https://data.iana.org/TLD/tlds-alpha-by-domain.txt | sed '/^#/d' - | awk '{print tolower($0)}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment