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