Shell script for domain searching binges

/ Published in: Bash
Save to your folder(s)

Takes input from stdin, so you can keep typing in domains to see if they're available. Requires `whois` to be installed.

Just paste it into your terminal, and start typing in domains (e.g. `` and hit enter) and it will tell you if the domain is available or not.

Tested with .com, .net, .org, .ca, you're welcome to write a more robust version!

# Example

$ while read i; do echo -n "$i is "; ( whois $i | grep -F "$(echo -e 'No match\nNOT FOUND\n AVAIL')" -q && echo 'AVAILABLE! :D' || echo 'taken :('); is taken :( is AVAILABLE! :D

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.