Shell script for domain searching binge

This is an easy script to find out if a domain is available. It works with generic tld.

 bash | 
 
 copy code |
?

1
#!/bin/bash
2
while read i; do 
3
    echo -n "$i is "; 
4
    whois $i  | grep -F "$(echo -e 'No matchnNOT FOUNDn  AVAIL')" -q && echo 'AVAILABLE!犀利士
5
 :D' || echo 'taken :('; 
6
done

Leave a Reply