学习啦 > 学习电脑 > 操作系统 > Linux教程 > linux的命令whois

linux的命令whois

时间: 佳洲1085 分享

linux的命令whois

  Linux系统下whois命令的主要功能是查找并显示用户信息,下面由学习啦小编为大家整理了linux的whois命令的相关知识,希望对大家有帮助!

  linux的whois命令详解

  Linux的whois命令用于查找并显示用户信息。

  whois指令会去查找并显示指定帐号的用户相关信息,因为它是到Network Solutions的WHOIS数据库去查找,所以该帐号名称必须在上面注册方能寻获,且名称没有大小写的差别。

  语法

  whois [帐号名称]

  linux的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

  ...省略内容

3625259