Find the geographical location within a shell script


Login or Register to Reply

 
Thread Tools Search this Thread
# 1  
Old 05-13-2008
Find the geographical location within a shell script

Hi,

I need a shell script that when run should be able to find the geographical location of the system.

can anyone help me with this?

Thanks,
Sundeep
# 2  
Old 05-13-2008
Do you mean locale - UNIX is not a gps, so it cannot give you a lat/long position of itself.

See man locale

This hows the "C" (default) locale
Code:
/home/jmcnama> locale
LANG=
LC_CTYPE="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_MESSAGES="C"
LC_ALL=

Login or Register to Reply

|
Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
Copying the files in to multiple location using shell script venkat918 Shell Programming and Scripting 2 12-17-2018 06:54 AM
Shell script to read specified value from file and echo to the same location to other file. ausdim Shell Programming and Scripting 6 09-01-2014 06:17 PM
Geographical distance between long and lat in bash lily-anne Shell Programming and Scripting 3 08-22-2014 02:03 AM
Find cpu location beta17 Red Hat 1 09-04-2013 11:15 AM
Find a set of files in a location nid21 UNIX for Dummies Questions & Answers 4 01-11-2013 04:54 AM
How to find a existing file location and directory location in Solaris box? buzzme Shell Programming and Scripting 1 01-10-2013 09:13 PM
Find Computer Location budiantho_indra Red Hat 5 10-06-2012 01:33 PM
Geographical location details of a server blp_18 Shell Programming and Scripting 5 07-03-2012 11:09 AM
using find to go directly into a directory location bjhum33 Shell Programming and Scripting 3 04-04-2012 01:31 AM
shell script to add input at certain location into a file Mr_47 Shell Programming and Scripting 8 08-26-2011 01:06 AM
shell script to replicate the log files from one location to another in real time lookinginfo Shell Programming and Scripting 4 04-05-2011 11:29 AM
Shell Script for Copy files from one location to another location allways4u21 Shell Programming and Scripting 2 01-21-2010 04:26 PM
How to find the job and its location clem2610 Shell Programming and Scripting 2 06-11-2009 05:30 PM
how to find Script file location inside script asami Shell Programming and Scripting 10 03-15-2006 12:57 AM
shell script location w/ Panther ropers OS X (Apple) 2 02-26-2004 02:38 PM