Skip to content

Instantly share code, notes, and snippets.

@gregmark
Last active January 19, 2022 00:40
Show Gist options
  • Save gregmark/c691a0c89185c5f17a46 to your computer and use it in GitHub Desktop.
Save gregmark/c691a0c89185c5f17a46 to your computer and use it in GitHub Desktop.
Get NTP offset cleanly
ntpdc -c loopinfo | awk '^offset: {print $2}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment