Skip to content

Bash script to check if a domain name, Twitter and GitHub username is available

License

Notifications You must be signed in to change notification settings

thesurlydev/check

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Bash script to check if a domain name, Twitter and GitHub username is available

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages