This reference includes examples for syntax information for the ntp command.
Command | Description | Usage | Examples |
---|---|---|---|
ntp show | To show the current configuration and status | ntp set --ip-fqdn "a.b.me,x.y.z.local" | |
ntp sync | To force the sync | ||
ntp set | To reset the servers | ||
ntp diagnose | To print debug data |
Syntax
Flag | Description |
---|---|
positional arguments: ip-fqdn |
IP/FQDN of the NTP server |