1
0
mirror of https://github.com/tiyn/wiki.git synced 2025-04-20 06:27:45 +02:00
wiki/wiki/linux/hwclock.md

22 lines
312 B
Markdown

# HWClock
`hwclock` is a program to set and display the hardware clock.
## Usage
### Display time and date
To display the hardware clock run the following command:
```sh
hwclock
```
### Sync the hardware clock to the system time
To sync the hardware clock run the following command:
```sh
hwclock -w
```