![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| whois VS jwhois and timeout | PWSwebmaster | Shell Programming and Scripting | 4 | 02-15-2008 02:54 AM |
| Max's Whois 1.0 (Default branch) | iBot | Software Releases - RSS News | 0 | 01-21-2008 09:00 PM |
| whois lookup from script intermittently not working | aliberson | Shell Programming and Scripting | 0 | 06-23-2007 04:31 PM |
| scripting guru's pls help me with scripting on AIX | thatiprashant | Shell Programming and Scripting | 1 | 01-20-2006 07:58 PM |
| Traceroute and Whois mystery | DumDum | IP Networking | 2 | 07-03-2002 11:24 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
whois scripting
Hi guys,
I need a script that given an IP address, say IPA, do the following: - queries "whois IPA" - extracts, from the whois answer, the IP network string indicated after the string "route:", - searches the IP network string in a given text file, say CIDR2ASN.txt, which has several lines, each line containing an IP network string and a number next (the ASN, autonomous system number indeed), - gets the ASN and display it or save it into a file. I know a little about unix scripting... I suppose I should use grep and cat commands within a for cycle and/or a case nest, any suggestion? Best, Ste |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|