Linux hwclock and date command

| May 18, 2011 | 0 Comments

Linux date command

First check and set the current system date and time.

1. date
2. date -s ‘Wed May 28 11:35:00 EST 2003′

Then sync your hardware clock with the system time.

1. hwclock –show
2. hwclock –systohc

Tags: , ,

Category: Tips for linux

Leave a Reply

You must be logged in to post a comment.