i’ve been hoarding few domains on my own and i just created a script to easily check available domains but does not check if it is an expiring domains.
first you need to create your domains.txt that has all the domains you want to check without the “.com”
# domains.txt bluefin sampledomain1953checker sampledomain1954check sampledomain3353checker
#!/bin/sh # author: http://almar.io # date: April 14, 2012 # this script checks for .com domains, available domains will # appear in the screen but taken domains will be ommitted DOMAINSTXT="domains.txt" counter=1; cat $DOMAINSTXT | grep -v "^#" | while read DOMAIN do whois $DOMAIN.com | grep "No match"; counter=$((counter+1)); # pause for a while to avoid being blocked from whois if [ "$counter" -gt "8" ]; then sleep 10; fi done
just be sure to add executable permission to your file
chmod +x dotcomchecker.sh
How to use and output
kalmario@StuffedCrust-Mint12 /tmp/domainchecker $ sh dotcomchecker.sh No match for "SAMPLEDOMAIN1953CHECKER.COM". No match for "SAMPLEDOMAIN1954CHECK.COM". No match for "SAMPLEDOMAIN3353CHECKER.COM". kalmario@StuffedCrust-Mint12 /tmp/domainchecker $