mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-02 23:43:09 +00:00
22 lines
450 B
Plaintext
22 lines
450 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, osx]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# sntp
|
|
|
|
> A very Simple Network Time Protocol client program.
|
|
> More information: <https://keith.github.io/xcode-man-pages/sntp.1>.
|
|
|
|
- Query a specified SNTP server and display the time:
|
|
|
|
`sntp {{pool.ntp.org}}`
|
|
|
|
- Synchronize the system clock with a specified SNTP server:
|
|
|
|
`sudo sntp -S {{pool.ntp.org}}`
|
|
|
|
- Enable debug logging:
|
|
|
|
`sntp -d {{pool.ntp.org}}`
|