commands
timedatectl — Inspect system time settings
status queries clock and synchronization settings via systemd services. timesync-status is specific to systemd-timesyncd. Set commands modify system settings; not executed here. Use a fresh private workspace; live operations are VM-only.
Formal Syntax & Structure
linux syntaxlinux
timedatectl [COMMAND]Parameters & Attributes
| Name | Type | Description |
|---|---|---|
| COMMAND | operand | Read-only status or other documented subcommand |
Return Value
exit status and output
status queries clock and synchronization settings via systemd services. timesync-status is specific to systemd-timesyncd. Set commands modify system settings; not executed here.
Working Example
Example Snippetlinux
timedatectl status