Latest web development tutorials

Linux whois命令

Linux 命令大全 Linux命令大全

Linux whois命令用於查找並顯示用戶信息。

whois指令會去查找並顯示指定帳號的用戶相關信息,因為它是到Network Solutions的WHOIS數據庫去查找,所以該帳號名稱必須在上面註冊方能尋獲,且名稱沒有大小寫的差別。

語法

whois [帐号名称]

實例

顯示指定用戶信息

# whois root

//查找root用户信息

查詢域名描述信息

# 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.

...省略部分内容

查詢域名信息

# 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

...省略部分内容

查詢域名信息省略法律聲明

# whois -H Lx138.COm

...省略内容

指定端口查詢

# whois -p 80 Lx138.COm

...省略内容

Linux 命令大全 Linux命令大全