Find, View, Set the hardware and software clock time in linux commands

by rajesh 2012-07-31 10:57:11

To find hardware and software clock times in linux

Command to view software clock time
# date


Command for setting software clock time
# date -s 'Tue Jul 31 11:35:00 IST 2012'


Command to view hardware clock time
# hwclock --show


Command for setting hardware clock time
# hwclock --systohc

651
like
0
dislike
0
mail
flag

You must LOGIN to add comments