Linux whois命令

Linux 命令大全 Linux 命令大全

Linux whois命令用于查找并顯示用戶(hù)信息。

whois指令會(huì)去查找并顯示指定帳號(hào)的用戶(hù)相關(guān)信息,因?yàn)樗堑絅etwork Solutions的WHOIS數(shù)據(jù)庫(kù)去查找,所以該帳號(hào)名稱(chēng)必須在上面注冊(cè)方能尋獲,且名稱(chēng)沒(méi)有大小寫(xiě)的差別。

語(yǔ)法

whois [帳號(hào)名稱(chēng)]

實(shí)例

顯示指定用戶(hù)信息

# whois root

//查找root用戶(hù)信息

查詢(xún)域名描述信息

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

...省略部分內(nèi)容

查詢(xún)域名信息

# 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

...省略部分內(nèi)容

查詢(xún)域名信息省略法律聲明

# whois -H Lx138.COm

...省略?xún)?nèi)容

指定端口查詢(xún)

# whois -p 80 Lx138.COm

...省略?xún)?nèi)容

Linux 命令大全 Linux 命令大全