hwclock

Linux · System · available in the simulator

What it does

Display or set the hardware clock (RTC).

Options and parameters

  • --systohc

    Copy system time to the RTC

  • --hctosys

    Copy RTC time to the system

Usage examples

  • sudo hwclock
  • sudo hwclock --systohc
  • sudo hwclock --hctosys
Practise hwclock

Related commands