« The Best Part of this Year's NBA Finals | Main | Baseball Hacks »
June 27, 2006
Setting Date/Time on Linux
Note to self . . .
Every now and then I need to adjust the time on a Linux box and I always have to look at the man page or dig around online to remember.
To set the date/time to June 27th, 4:04pm:
sudo date 06271604
To make sure that setting sticks in the hardware:
sudo /sbin/hwclock --systohc
Posted by mike at June 27, 2006 4:10 PM
Hard Drive Recovery Group offers hard disk data recovery services for RAID, laptops and servers. Complete clean room and hard drive repair service.Trackback Pings
TrackBack URL for this entry:
http://mike.kruckenberg.com/mt/mt-tb.cgi/895
Comments
Hi
I personally use rdate to keep the system date up to date and run it through a cron every 15 minutes
http://freshmeat.net/projects/rdate/
Along with rdate, I run hwdate every day at midnight
Posted by: seb at July 8, 2006 7:18 AM