1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-10-31 22:38:07 +01:00

Create hwclock.md

This commit is contained in:
Dylan Rees 2016-05-23 00:11:30 -04:00
parent 169f5174eb
commit d2932183d2

15
pages/linux/hwclock.md Normal file
View file

@ -0,0 +1,15 @@
# 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`