Fix: Command not found for whois and dig


If you have not installed bind-utils then you wont be able to execute dig commands. basically dig command can be used to DNS information and reverse lookup of a host etc.

To install dig commands , type below commands in your terminal

yum install bind-utils

Then you can try with

dig google.com
dig -x google.com 

If you have executed those commands, you will see sample output as below

and if who is command not working then you have to install jwhois package.

yum install jwhois
and you can test command usage with

whois google.com

Hope it helps you some day!!!!!!!!!!!!!!

Share on Google Plus


This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.