1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/linux/hwclock.md

17 lines
420 B
Markdown
Raw Normal View History

2016-05-23 00:11:30 -04:00
# hwclock
> Read or change the hardware clock. Usually requires root.
> More information: <https://manned.org/hwclock>.
2016-05-23 00:11:30 -04:00
- 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 {{[-w|--systohc]}}`
2016-05-23 00:11:30 -04:00
- Write the current hardware clock time to the software clock:
`hwclock {{[-s|--hctosys]}}`