Skip to content

Instantly share code, notes, and snippets.

@ricsiga
Created June 20, 2016 13:38
Show Gist options
  • Save ricsiga/b8901921843e19d6c2bf92a0b2be1e70 to your computer and use it in GitHub Desktop.
Save ricsiga/b8901921843e19d6c2bf92a0b2be1e70 to your computer and use it in GitHub Desktop.
set the date and time via NTP
#!/bin/sh
/usr/sbin/ntpdate -s 0.debian.pool.ntp.org 1.debian.pool.ntp.org 2.debian.pool.ntp.org 3.debian.pool.ntp.org
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment