<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif;color:rgb(11,83,148)">I use a quick search tool at my registrar, <a href="http://rebel.com">rebel.com</a>.</div><div class="gmail_default" style="font-family:tahoma,sans-serif;color:rgb(11,83,148)"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;color:rgb(11,83,148)">For any given string of characters, it will instantly check its availability in many, many TLDs - generic ones and country ones being sold as generics - and provide availability and pricing.</div><div class="gmail_default" style="font-family:tahoma,sans-serif;color:rgb(11,83,148)">(including when a TLD marks a string as "premium" so the registry can earn the speculation bonus instead of a reseller)<br></div><div><br></div><div><div style="font-family:tahoma,sans-serif;color:rgb(11,83,148)" class="gmail_default">
It just checks whether the domains are taken, not whether or how they're in use. I know it's not CLI; you may get better results using `dig` than `ping` or `whois` if going that route.<br></div><br></div><div>-<span class="gmail_default" style="font-family:tahoma,sans-serif;color:rgb(11,83,148)"> Evan</span></div><div><span class="gmail_default" style="font-family:tahoma,sans-serif;color:rgb(11,83,148)"></span></div></div><div><br></div><div><br></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jul 25, 2024 at 4:05 PM David Mason via talk <<a href="mailto:talk@gtalug.org">talk@gtalug.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>grep 'ca$' /usr/share/dict/words|tr '[A-Z]' '[a-z]'|sort -u|sed 's/ca$/.ca/'|while read x;do ping -c1 $x >/dev/null 2>&1 || echo $x;done <br></div><div><br></div><div>but ping isn't very good at seeing if something is registered... and `whois` doesn't seem to have an error code.</div><div><br></div><div>Any suggestions on a CLI way to check if a domain is registered?</div><div><br></div><div>../Dave</div></div><br></blockquote></div></div>