Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

Linux whois command

Linux whois command

Linux Command Reference Linux Command Reference

The Linux whois command is used to look up and display user information.

The whois command looks up and displays information about a specified account. Because it searches the WHOIS database at Network Solutions, the account name must be registered there to be found, and names are case-insensitive.

Syntax

whois [帐号名称]

Example

Display information for a specified user

# whois root



//Find root user information

Query domain name description information

# whois .Lx138.COm



Whois Server Version 2.0



Domain names in the .com and .net domains can now be registered

with many different competing registrars. Go to http://www.internic.net

for detailed information.



...省略部分内容

Query domain name information

# whois Lx138.COm



The Registry database contains ONLY .COM, .NET, .EDU domains and

Registrars.

Domain Name ..................... Lx138.COm

Name Server ..................... dns15.hichina.com

                 dns16.hichina.com

Registrant ID ................... hc937242545-cn



...省略部分内容

Query domain information, omitting the legal notice

# whois -H Lx138.COm



...省略内容

Query using a specified port

# whois -p 80 Lx138.COm



...省略内容

Linux Command Reference Linux Command Reference