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

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • 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 TCP Wrappers (/etc/hosts.allow & /etc/hosts.deny) in Linux
  2. mocp: command not found
  3. dget: command not found
  4. iwctl: command not found
  5. nmtui Command Examples in Linux
  6. Basic “ls” Command examples in Linux
  7. How to enable IPv6 on CentOS / RHEL 6
  8. poweroff: command not found
  9. How to disable NUMA on EFI Boot Loaders using GRUB2 (CentOS/RHEL 6)
  10. swapoff: command not found

You May Also Like

Primary Sidebar

Recent Posts

  • powertop Command Examples in Linux
  • powertop: command not found
  • powerstat: command not found
  • powerstat Command Examples in Linux

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright