Whois is a command-line tool used to check details of a website or domain name. It can display information such as the domain owner, registration date, expiry date, and name servers. It helps you understand who manages a website and how long it has been active. It is also useful for learning basic internet and domain information.
Installation Commands
Update Termux and install Whois:
pkg update && pkg upgrade && pkg install whois -y
Check installation:
whois --version
Basic Usage Commands
Check domain information:
whois example.com
Check domain owner details:
whois google.com
Check domain registration info:
whois termux.com
Search specific country domain info:
whois example.in
Save output to file:
whois example.com > domain-info.txt
View saved file:
cat domain-info.txt
Filter important information only:
whois example.com | grep -i "Registrar"
Check name servers only:
whois example.com | grep -i "Name Server"
Check creation and expiry date:
whois example.com | grep -i "Creation\|Expiry"
Get clean summary:
whois example.com | less
Check domain info quickly:
whois example.com | head







