mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-10 11:29:59 +03:00
366 B
366 B
hwclock
Used for reading or changing the hardware clock. Usually requires root.
- Display the current time as reported by the hardware clock:
hwclock
- Write the current software clock time to the hardware clock (sometimes used during system setup):
hwclock --systohc
- Write the current hardware clock time to the software clock:
hwclock --hctosys