1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 16:42:10 +02:00
tldr/pages/linux/hwclock.md
2021-09-02 20:33:49 +02:00

16 lines
416 B
Markdown

# hwclock
> Used for reading or changing the hardware clock. Usually requires root.
> More information: <https://manned.org/hwclock>.
- 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`