Fandom

How To Wiki

How to Set the computers clock in unix

1,795pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.



  • Set the current system date/time, using the date command
    • date MMDDhhmm
    • date MMDDhhmmYYYY.ss
  • Set the hardware clock to system clocks time using hwclock
    /sbin/hwclock --systohc
  • /etc/sysconfig/clock
    sets whether the hardware clock is stored as UTC or local time.


    From HowTo Wiki, a Wikia wiki.

Also on Fandom

Random Wiki