I'd like to know how, using command-line whois, I can get all IP ranges (i.e., NET objects) assigned to a particular organisation.
For example, consider this company: http://whois.arin.net/rest/org/HT-136 … if you click on the link "Related networks" it will bring you to http://whois.arin.net/rest/org/HT-136/nets which shows you the networks assigned to it.
I am finding it difficult to figure out how to get the same info using command-line whois.
Any help would be greatly appreciated!
Best Answer
As found by doing
man whois
andwhois -a ?
-a
o
!
>
The Result is:
As an alternate answer, using CURL or any REST client via RWHOIS is in my opinion MUCH easier to parse.
curl http://whois.arin.net/rest/org/HT-136/nets