Saturday, April 26, 2014

date


date command examples

Set the system date:

$ date -s "01/31/2010 23:59:53"


Once you’ve changed the system date, you should syncronize the hardware clock with the system date as shown below.

$ hwclock –systohc
$ hwclock --systohc –utc



0 comments:

Post a Comment