Display information about a domain or IP. Who owns it, when does it expire, location of the owner etc.
whois example.com
whois 8.8.8.8
Question: How do you find out who has a domain or when a domain has been bought?
Answer: You run the command whois
, it gives you all the details about a domain.