Quick Command Line Tip - Whois from the Command Line

  • May 21, 2008
  • Avatar for peter
    Peter
    Upfold

A very quick command line tip today, for users of pretty much any Unix-based operating system, including Linux distributions.

When you're looking up information on a certain web site or domain name, you might be used to using whois functions on websites such as DNS Tools to see who owns a domain.

However, in most cases there is a much quicker way to get the same information, which is through your command line.

As you might guess, it's simply:

$ whois domain.com

If you also want to hide the legal information that gets returned on a whois request, for brevity, you can easily do so with:

$ whois -H domain.com

This often won't catch it all and give you purely the results, but it usually helps reduce the level of output.

Avatar for peter Peter Upfold

Home » Articles »