Kunaljain's Weblog

September 18, 2008

Changing Date and Time in Linux

Filed under: Linux Tips & Tricks — Kunal Jain @ 03:39
Tags: ,

Using hwclock we can change Date and Time in Linux

hwclock --set --date="Sep 18 10:30:45 IST 2008"
hwclock --hctosys

1 Comment »

  1. Install ntpdate to automatically keep your system up to date with atomic clocks in your country. ex. ntpdate ntp0.nl.net this synchronises my clock with the first ntp server in Holland. Then you can synchronise your hardware clock with the system clock. –systohc

    Comment by linux tips — November 21, 2008 @ 13:09 | Reply

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: