whois

Command-line client for the WHOIS (RFC 3912) protocol. More information: https://github.com/rfc1036/whois.

whois example.com

whois 8.8.8.8

whois -b 8.8.8.8