Skip to content

Instantly share code, notes, and snippets.

@dungmanh88
Created September 26, 2016 06:26
Show Gist options
  • Save dungmanh88/41e030e8165902912fff07f975642355 to your computer and use it in GitHub Desktop.
Save dungmanh88/41e030e8165902912fff07f975642355 to your computer and use it in GitHub Desktop.
Synchronize time immidiately
systemctl stop ntp.service
# Synchronize time with server in pool in /etc/ntp.conf
ntpd -gq
systemctl start ntp.service
# View all servers
ntpq -pn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment