How To Wiki

How to Set the computers clock in unix

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

  • Set the current system date/time, using the date command
    • date MMDDhhmm
    • date
  • 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.

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.

Also on Fandom

Random Wiki