• 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. “git maintenance” Command Examples
  2. umask: command not found
  3. apparmor_status: command not found
  4. “sudo: /etc/sudoers is world writable” – How to correct the permissions of sudoers file
  5. dnf Command Examples
  6. comby: Tool for structural code search and replace that supports many languages
  7. test Command Examples in Linux
  8. mons Command Examples in Linux
  9. laydown Command Examples
  10. cewl: command not found

You May Also Like

Primary Sidebar

Recent Posts

  • Vanilla OS 2 Released: A New Era for Linux Enthusiasts
  • mk Command Examples
  • mixxx Command Examples
  • mix Command Examples

© 2025 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright