O'Reilly logo

Linux Pocket Guide, 2nd Edition by Daniel J. Barrett

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

whois — stdin  stdout  - file  -- opt  --help  --version

Synopsis

whois [options] domain_name

The whois command looks up the registration of an Internet domain:

$ whois linuxmint.com
...
Domain name:    LINUXMINT.COM
...
 Administrative Contact:
    Lefebvre, Clement
...
 Technical Contact:
    Hostmaster, Servage
...
Registrar of Record: TUCOWS, INC.
Record expires on 07-Jun-2012.
Record created on 07-Jun-2006.
...

plus a few screens full of legal disclaimers from the registrar.

Useful options

-h registrar

Perform the lookup at the given registrar’s server. For example, whois -h whois.networksolutions.com yahoo.com.

-p port

Query the given the TCP port instead of the default, 43 (the whois service).

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required