Created
September 26, 2016 06:26
-
-
Save dungmanh88/41e030e8165902912fff07f975642355 to your computer and use it in GitHub Desktop.
Synchronize time immidiately
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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