whois command not working

January 24, 2014 14.1k 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!

Tony
Have another answer? Share your knowledge.