mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-30 17:33:50 +08:00
a1d647ec4f
Co-authored-by: badhon <108542798+badhon495@users.noreply.github.com>
659 B
659 B
timedatectl
Kontroluj datę i czas systemowy. Więcej informacji: https://www.freedesktop.org/software/systemd/man/latest/timedatectl.html.
- Sprawdź aktualny czas zegara systemowego:
timedatectl
- Bezpośrednio ustaw czas lokalny zegara systemowego:
timedatectl set-time "{{yyyy-MM-dd hh:mm:ss}}"
- Wyświetl dostępne strefy czasowe:
timedatectl list-timezones
- Ustaw systemową strefę czasową:
timedatectl set-timezone {{strefa_czasowa}}
- Włącz synchronizację czasu poprzez Network Time Protocol (NTP):
timedatectl set-ntp on
- Zmień standard czasu zegara sprzętowego na czas lokalny:
timedatectl set-local-rtc 1