Skip to content

Latest commit

 

History

History
41 lines (27 loc) · 1 KB

README.md

File metadata and controls

41 lines (27 loc) · 1 KB

check

Bash script to check the following:

install

  1. Add check file to your PATH
  2. chmod +x check

configuration

By default, the script will check availability of the following TLDs: .com, .io, .net

These defaults can be changed by updating the TLDS array in the script.

Given an argument foo, the script will use whois to check domain name availability for: foo.com, foo.io, foo.net

curl will then be used to check availability of foo as a username for: GitHub, Instagram, Twitter

usage

check digitalsanctum

will have output like the following:

$ check digitalsanctum
        digitalsanctum.com: TAKEN
         digitalsanctum.io: AVAILABLE
        digitalsanctum.net: AVAILABLE

                    GitHub: TAKEN
                   Twitter: TAKEN
                 Instagram: TAKEN  

Tested on Ubuntu 18.04. YMMV