Skip to content

Instantly share code, notes, and snippets.

@ejhayes
Created May 12, 2016 22:50
Show Gist options
  • Save ejhayes/4c73a6175134aec3d8dcaa3c73f868fe to your computer and use it in GitHub Desktop.
Save ejhayes/4c73a6175134aec3d8dcaa3c73f868fe to your computer and use it in GitHub Desktop.
NTP fix and update clock
#!/bin/bash
sudo apt-get install ntp -y
sudo service ntp stop
sudo ntpdate -s time.nist.gov
sudo service ntp start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment