seawolf@sammy:~ $ hwclock -r
Sat Oct 16 09:42:59 2010 0.000000 seconds
seawolf@sammy:~ $ date
Sat Oct 16 10:43:02 BST 2010
seawolf@sammy:~ $ sudo hwclock -s
seawolf@sammy:~ $ date
Sat Oct 16 09:43:20 BST 2010
seawolf@sammy:~ $ sudo date +%T -s "10:46:00"
seawolf@sammy:~ $ date
Sat Oct 16 09:46:03 BST 2010
-s syncs both to the hardware clock
-w syncs both to the system clock
It looks like you're new here. If you want to get involved, click one of these buttons!