Whois command in UNIX
June 02, 08 by the programmerIf you want to find out some informations about a domain name and you are running unix than you should use the whois command.
Usage: whois [OPTIONS] [QUERY]
Bellow is the list of the options
| –version | display version number and patch level |
| –help | display this help |
| -v, –verbose | verbose debug output |
| -c FILE, –config=FILE | use FILE as configuration file |
| -h HOST, –host=HOST | explicitly query HOST |
| n, –no-redirect | - disable content redirection |
| -s, –no-whoisservers | disable whois-servers.net service support |
| -a, –raw | disable reformatting of the query |
| -i, –display-redirections | display all redirects instead of hiding them |
| -p PORT, –port=PORT | use port number PORT (in conjunction with HOST) |
| -r, –rwhois | force an rwhois query to be made |
| –rwhois-display=DISPLAY | sets the display option in rwhois queries |
| –rwhois-limit=LIMIT | sets the maximum number of matches to return |
Example: whois google.com
This will return all the available information about the domain google.com
* Note that there are many versions of the whois command so before you use it consult the man page
