1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 00:42:08 +02:00
tldr/pages/osx/sntp.md
Mohamed Taher Mosbah 4e03c8f800
sntp: add page (#11877)
* sntp: add page

---------

Co-authored-by: Vitor Henrique <87824454+vitorhcl@users.noreply.github.com>
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
2024-01-03 19:14:26 +05:30

360 B

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}}