This is an easy script to find out if a domain is available. It works with generic tld.
#!/bin/bash
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 :(';
done
Leave a Reply
You must be logged in to post a comment.