Skip to content

Instantly share code, notes, and snippets.

@GINK03
Last active January 22, 2019 13:22
Show Gist options
  • Select an option

  • Save GINK03/03cef60702b36d12858f661718ebc16d to your computer and use it in GitHub Desktop.

Select an option

Save GINK03/03cef60702b36d12858f661718ebc16d to your computer and use it in GitHub Desktop.
時刻を変更する: change date in ubuntu

change date in ubuntu.

NTPを止める

# timedatectl set-ntp false

Dateを変更

# date +%Y%m%d -s "20190523"

Check

$ date

NTPを再開

# timedatectl set-ntp true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment