RSS Subscription
Linux Howtos & Tutorials

Enter your email:

Delivered by


NOTE:New tutorials are from LinuxCareer.com

Poll

Do you own or wish to have iPhone?
 


Linux eBooks FREE Download
A guide to programming Linux kernel modules
Introduction to Linux - A Hands on Guide
A Newbie's Getting Started Guide to Linux

Linux from Scratch - Create Your Own Linux System - Free eBook

Linux: The Hacking Solution (v.3.0)

SQLite 3 with PHP Essential Training – Free Video Training Tutorials

This guide will introduce you to the world of GNU/Linux

The GNU/Linux Advanced Administration

A Complete Beginner's Manual for Ubuntu 10.04 (Lucid Lynx)

Advanced Bash-Scripting Guide

Set up, maintain, and secure a small office email server

Partner Linux Sites:
How-To.LinuxCareer.com
Jobs.LinuxCareer.com
TuxMachines
Monsterb
LinuxBloggers
AdamsInfo
LinuxScrew
All For Linux

Setting the timezone under Linux

The Timezone under Linux as just a symbolic link to an appropriate timezone file in the /usr/share/zoneinfo. It may happen that your time within GUI applications is correct, however time on the command line is wrong. One of the possible reasons could be that your system's timezone is not set correctly. To set you correct time zone first investigate what file from /usr/share/zoneinfo would be appropriate for your timezone. For example if you are from Europe/Slovakia you would set your symlink as follows:

# ln -sf /usr/share/zoneinfo/Europe/Bratislava /etc/localtime

Now you can set correct time with ntpdate command:

# ntpdate pool.ntp.org

If you do not have an internet avaiable to set your time to NTP server you can also set your time from you hardware time ( assuming hardware time is correct )

# hwclock --hctosys

Confirm correct time with:

$ date

Share this linux post:

Submit Setting the timezone under Linux in Delicious Submit Setting the timezone under Linux in Digg Submit Setting the timezone under Linux in FaceBook Submit Setting the timezone under Linux in Google Bookmarks Submit Setting the timezone under Linux in Stumbleupon Submit Setting the timezone under Linux in Technorati Submit Setting the timezone under Linux in Twitter
 
Comments for this page are closed !!!
Please visit our new Linux Forum for additional help or discussion.


Linux eBooks FREE Download