whois command not working

January 24, 2014 21.2k views
Hello, I'm trying to run whois (whois mysite.com) and I'm getting the following message: No command 'whois' found, did you mean: Command 'rwhois' from package 'socks4-clients' (universe) Command 'jwhois' from package 'jwhois' (universe) Command 'cwhois' from package 'asused' (universe) Command 'gwhois' from package 'gwhois' (universe) whois: command not found I'm sure it worked before. I'm setup using LEMP on Ubuntu 12.04.3 x64 Thank you.
3 Answers
It does not come by default on 12.04

sudo apt-get install python-software-properties
sudo add-apt-repository ppa:nathan-renniewaldock/ppa
sudo apt-get update
sudo apt-get install whois
Hey Chris,

That's awesome, exactly what I needed. Thanks so much for your help!

You are welcome Tony!
Have another answer? Share your knowledge.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!