mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-15 23:48:56 +00:00
Update cheatsheets
This commit is contained in:
21
linux/hwclock
Normal file
21
linux/hwclock
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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`
|
||||
Reference in New Issue
Block a user