Do you know your exact zone longitude and latitude coordinates? Knowing your current zone coordinates won't hurt a bit. Here's how to retrieve latitude and longitude coordinates inside your linux box via terminal.
To pinpoint your latitude and longitude of your current location from your Fedora box, follow the following command sample
How to Retrieve Latitude/Longitude Coordinates from Linux box
# grep -i manila /usr/share/zoneinfo/zone.tab
result:
PH +1435+12100 Asia/Manila
Legend:
First Column : Country Code
Second Column: Latitude and Longitude Coordinates
Third Column: Time Zone (usually following the continent/city format)
Let's try another one.
# grep -i singapore /usr/share/zoneinfo/zone.tab
# grep -i new_york /usr/share/zoneinfo/zone.tab
result:
SG +0117+10351 Asia/Singapore
That's it.
Subscription
Categories
- HowTos (612)
- Linux Devices (40)
- Linux Diggs (620)
- Linux News (1541)
- Linux Videos (24)
Recent Posts
Blog Archive
-
▼
2008
(2301)
-
▼
April
(11)
- HowTo: Powerful Metric and Units Linux Conversion ...
- HowTo: Prevent Non-Root From Rebooting/Shutting Do...
- HowTo: UDP Connectivity Host Test
- HowTo: Secure SSH by Disabling Root Logins
- HowTo: Retrieve Current Latitude and Longtitude fr...
- HowTo: Install Wallpapoz
- HowTo: Join Two Text Files with Common Columnar Fi...
- HowTo: Copy and Paste A Text File into Another Tex...
- HowTo: Install Ioncube PHP Encoder/Decoder
- HowTo: Identify your IPv4/IPv6 Loopback Address
- HowTo: Get Disk, Partition And Folder Space Usage
-
▼
April
(11)
Tuesday, April 29, 2008
HowTo: Retrieve Current Latitude and Longtitude from Linux
Subscribe to:
Post Comments (Atom)
ILoveTux - howtos and news | About | Contact | TOS | Policy
0 comments:
Post a Comment