All     Ethical Hacking     Networking     Programming     OSINT

whois in Termux – Installation & Basic Commands

whois is a simple command-line tool used to find information about a domain name, such as its registrar, registration date, expiration date, and contact details. Termux allows you to install whois easily and query any domain directly from your Android device.

Installation & Basic Commands

Install whois in Termux:

pkg update && pkg upgrade -y
pkg install whois -y

Check whois version:

whois -v

Query a domain:

whois example.com

Query a specific TLD server:

whois -h whois.verisign-grs.com example.com

Save output to a file:

whois example.com > domaininfo.txt

Check domain registrar only:

whois example.com | grep Registrar

Check domain expiration date:

whois example.com | grep Expiry

Uninstall whois:

pkg uninstall whois