Use whois on linux to see if a domain is registered (and other uses)
check if it's installed:
which whois
no response (it just returns immediately...) then it's not installed!
install whois
apt-get install whois
which whois
no response (it just returns immediately...) then it's not installed!
apt-get install whois