Today (Saturday) We will make some minor tuning adjustments to MySQL.

You may experience 2 up to 10 seconds "glitch time" when we restart MySQL. We expect to make these adjustments around 1AM Eastern Daylight Saving Time (EDT) US.


Find the geographical location within a shell script


Login or Register to Reply

 
Thread Tools Search this Thread
# 1  
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  
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
How to find a existing file location and directory location in Solaris box?
buzzme
Hi This is my third past and very impressed with previous post replies Hoping the same for below query How to find a existing file location and directory location in solaris box... Shell Programming and Scripting
1
Shell Programming and Scripting
Geographical location details of a server
blp_18
Is there a way to find geographical location details of a server in shell scripting ? Say, which region server is located at etc.... Shell Programming and Scripting
5
Shell Programming and Scripting
Shell Script for Copy files from one location to another location
allways4u21
Create a script that copies files from one specified directory to another specified directory, in the order they were created in the original directory between specified times. Copy the files at a specified interval.... Shell Programming and Scripting
2
Shell Programming and Scripting
how to find Script file location inside script
asami
I have to find out the file system location of the script file inside script. for example a script "abc.sh" placed anywhere in the file system when executed shold tell by itself the location of it. example #pwd / #./abc this is / #cd /root #./abc this is /root #cd / #/root/abc this...... Shell Programming and Scripting
10
Shell Programming and Scripting
shell script location w/ Panther
ropers
I'm sure there things have only been asked a thousand times (I just couldn't find the answers): I am running Panther (Mac OS X ver. 10.3.2.). I am using the (default) bash shell. I am *starting* to write shell scripts. I would like to "install" some shell scripts, so that they are always...... OS X (Apple)
2
OS X (Apple)

Featured Tech Videos