How To Wiki

How to Set the computers clock in unix

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

  • 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.

Also on Fandom

Random Wiki