Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

geoiplookup(1) [linux man page]

GEOIPLOOKUP(1)						      General Commands Manual						    GEOIPLOOKUP(1)

NAME
geoiplookup - look up country using IP Address or hostname SYNOPSIS
geoiplookup [-d directory] [-f filename] [-v] <ipaddress|hostname> DESCRIPTION
geoiplookup uses the GeoIP library and database to find the Country that an IP address or hostname originates from. For example geoiplookup 80.60.233.195 will find the Country that 80.60.233.195 originates from, in the following format: NL, Netherlands OPTIONS
-f Specify a custom path to a single GeoIP datafile. -d Specify a custom directory containing GeoIP datafile(s). By default geoiplookup looks in /usr/local/share/GeoIP -v Lists the date and build number for the GeoIP datafile(s). AUTHOR
Written by T.J. Mather REPORTING BUGS
Report bugs to <support@maxmind.com> COPYRIGHT
Copyright (C) 2006 MaxMind LLC This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU- LAR PURPOSE. SEE ALSO
geoipupdate(1), nslookup(1). 4th Berkeley Distribution 2 Jan 2007 GEOIPLOOKUP(1)

Check Out this Related Man Page

GEOIPLOOKUP6(1) 					      General Commands Manual						   GEOIPLOOKUP6(1)

NAME
geouplookup6 - look up country using IP Address or hostname SYNOPSIS
geouplookup6 [-d directory] [-f filename] [-v] <ipaddress|hostname> DESCRIPTION
geouplookup6 uses the GeoIP library and database to find the Country that an IP address or hostname originates from. You must install a database suitable for geoiplookup6. IE: GeoIPv6.dat For example: geouplookup6 2001:4860:0:1001::68 geoiplookup6 ipv6.google.com will find the Country that 2001:4860:0:1001::68 originates from, in the following format: US, United States OPTIONS
-f Specify a custom path to a single GeoIP datafile. -d Specify a custom directory containing GeoIP datafile(s). By default geouplookup6 looks in /usr/share/GeoIP -v Lists the date and build number for the GeoIP datafile(s). AUTHOR
Written by T.J. Mather REPORTING BUGS
Report bugs to <support@maxmind.com> COPYRIGHT
Copyright (C) 2008 MaxMind, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU- LAR PURPOSE. SEE ALSO
geoipupdate(1), nslookup(1). 4th Berkeley Distribution 28 Oct 2008 GEOIPLOOKUP6(1)
Man Page

12 More Discussions You Might Find Interesting

1. HP-UX

how to find ipaddress

Hi, Pls tell me any command in Hp-unix to find out the machine ipaddress Thanks, shruti (14 Replies)
Discussion started by: shruti_mgp
14 Replies

2. UNIX for Advanced & Expert Users

awk help

Hi All. I have the following datafile on which I am running the awk script H|00000013|08-MAY-2006|||43 L|BP|OTH001138|PO|C000020|EA |PQ||0||13-FEB-2006 |FI||3000||29-MAY-2006 |MT||9000||17-JUL-2006 F|3000|C|W|08-MAY-2006 F|5000|D|W|05-JUN-2006 F|1000|D|W|26-JUN-2006 But I am not... (2 Replies)
Discussion started by: isingh786
2 Replies

3. Shell Programming and Scripting

geting server name(ipaddress)

hi, can any one say how to get the server name if we know the ipaddress ie nslookup gives ipaddress if server name is given in the same way can i have server name if i know ipaddress thanks & regards babu :o (1 Reply)
Discussion started by: babu@shell
1 Replies

4. UNIX for Dummies Questions & Answers

Ip

Mates, Is there a command to get the ipaddress only of my system. ie; like hostname where i get my hostname i need the output dispay only my ipaddress. I am using a linux server. thanks (5 Replies)
Discussion started by: Krrishv
5 Replies

5. Shell Programming and Scripting

AWK Help

HI All, Need a help Suppose I have a file having the data 1,FF,233 where the second field is Hex now I want to convert this hex in dec and see the output as 1,255,233 Request you all to help Regards, Gaurav Goel (6 Replies)
Discussion started by: gauravgoel
6 Replies

6. UNIX for Dummies Questions & Answers

Returning text after find

Hey guys, I'm sure someone will have asked this before but I searched for ages and couldn't find a post. Anyhow, I have a datafile and I want to search for "UserID : " in it and then return the characters following this until it hits a pipe. e.g. Running the comand against the following... (7 Replies)
Discussion started by: dlam
7 Replies

7. UNIX for Dummies Questions & Answers

How do I read/find/replace fields in a csv datafile?

hello. I'm somewhat a novice here so please be patient. My stumbling block when loading csvs into ORACLE tables is this: I need to read a csv datafile, check several fields in each line, and if any of stated fields contain A ZERO only then replace it with a null/blank character. I had a... (9 Replies)
Discussion started by: MrCarter
9 Replies

8. UNIX for Advanced & Expert Users

How do we know which processis creating a datafile

Hi, Is there any way we can find out which process is creating a partucular datafile.I know the user and group but i am just curios to know is there any way to find the process. Thanks (7 Replies)
Discussion started by: ukatru
7 Replies

9. UNIX for Dummies Questions & Answers

How to find out the ipaddress?

Hi Friends, I am new to UNIX. I wonder how can I get the ipaddress of my machine? In windows, i can use ipconfig to get my ipaddress. I am aware of ifconfig but it does not give the ipaddress.:) Thanks and regards, Dinesh Venkatesan. (4 Replies)
Discussion started by: DineshV
4 Replies

10. Shell Programming and Scripting

Search for Ip in last

I need to grep for for ipaddress in last , the ipaddress could also be with 60.120.123.26 174.20.195.150 last | awk '{print $3}' | grep It ain't working (3 Replies)
Discussion started by: dinjo_jo
3 Replies

11. Shell Programming and Scripting

sort the last names

hi all i have a datafile consists of fields seperated by colons. the fields are as follows : a) First and last name b) Phone number c) Address d) Birth date e) Salary now i want to write a script naming lookup.sh using vi editor which... (4 Replies)
Discussion started by: sonu_pal
4 Replies

12. Shell Programming and Scripting

Timestamp conversion in PERL

Hi, I have a file as below I need to overwrite the 2 nd column alone to numeric format like "06122011030414012345" as per the timestamp value output file should be the microseconds can be neglected if required. Any help will be appreciated. Thanks in advance (1 Reply)
Discussion started by: irudayaraj
1 Replies