• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • VCS
  • Interview Questions
  • Database
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

whois: command not found

by admin

The whois command provides information on Internet DNS registrations for organizations. This can be useful for learning or verifying information regarding ownership of a domain name, contact information for an organization, etc.

Some examples include:

# whois google.com
# whois ubuntu.com

If you encounter the below error while running the whois command:

whois: command not found

you may try installing the below package as per your choice of distribution:

Distribution Command
OS X brew install whois
Debian apt-get install whois
Ubuntu apt-get install whois
Alpine apk add whois
Arch Linux pacman -S whois
Kali Linux apt-get install whois
CentOS yum install whois
Fedora dnf install whois
Raspbian apt-get install whois

Syntax

The syntax of the whois command is:

# whois [options] {domain name}

whois Command Examples

1. Get information about a domain name:

# whois example.com

2. Get information about an IP address:

# whois 8.8.8.8

3. Get abuse contact for an IP address:

# whois -b 8.8.8.8

Filed Under: Linux

Some more articles you might also be interested in …

  1. Understanding multipath Utility to Configure DM-Multipath
  2. How to Check whether SELinux is Enabled or Disabled
  3. edquota: command not found
  4. apache2ctl Command Examples in Linux
  5. lxterminal: command not found
  6. flyctl: Command-line tool for flyctl.io
  7. nmtui: command not found
  8. hlint: command not found
  9. partprobe Command Examples in Linux
  10. calibredb: Tool to manipulate the your e-book database

You May Also Like

Primary Sidebar

Recent Posts

  • glab Command Examples
  • “glab repo” Command Examples
  • “glab release” Command Examples
  • “glab pipeline” Command Examples

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright