The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
c shell script help with find bigboizvince Shell Programming and Scripting 1 03-25-2008 11:49 AM
NEWBIE: If and Find in shell script meskue Shell Programming and Scripting 1 06-29-2006 10:28 PM
how to find Script file location inside script asami Shell Programming and Scripting 10 03-14-2006 08:57 PM
shell script to find files naren_samba2005 Shell Programming and Scripting 2 10-21-2005 02:06 AM
shell script location w/ Panther ropers OS X (Apple) 2 02-26-2004 10:38 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-13-2008
Registered User
 

Join Date: May 2008
Posts: 39
Stumble this Post!
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
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 05-13-2008
...@...
 

Join Date: Feb 2004
Location: NM
Posts: 3,812
Stumble this Post!
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=
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 09:58 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0