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