The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




Thread: Reverse lookup
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 08-26-2008
ravis83
Guest
  
 

Posts: n/a
Bits: 0 [Banking]
Reverse lookup

hey guys,

can anybody help me out here on the following:

grep '^[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}$' ravi.txt mary.txt lisa.txt
i.e what i did was found ip addreses from different files
and then i want Perform a reverse lookup on each ip address and format it like "IP=192.168.0.1,hostname=poodle.google.com"??