Saturday, February 20, 2010

linux set date

$ # date -s "2 OCT 2006 18:00:00 PM PST" root:# date -s " Fri Feb 19 06:56:00 PM PST 2010" ######################### After running date, run: as root# sudo /sbin/hwclock --systohc This will set the hardware clock to the system time, thus syncing the two (unless your hardware clock is UTC. If so, sudo /sbin/hwclock --systohc --utc will set it correctly) ################ lets hope this works on my crapy dell gx260 clock.

No comments: