mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-23 08:22:09 +02:00

Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com> Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
16 lines
402 B
Markdown
16 lines
402 B
Markdown
# hwclock
|
|
|
|
> Read or change 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`
|