Quick Command Line Tip - Whois from the Command Line

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 - http://peter.upfold.org.uk/

Peter Upfold is a technology enthusiast from the UK. Peter’s interest in Linux stems back to 2003, when curiosity got the better of him and he began using SUSE 9.0. Now he runs Linux Mint 9 on the desktop, runs a CentOS-based web server from home for his personal website and dabbles in all sorts of technology things across the Windows, Mac and open source worlds.

Home » Articles »

Discussion: Quick Command Line Tip - Whois from the Command Line

Home » Articles » Quick Command Line Tip - Whois from the Command Line