Last active
October 14, 2022 02:07
-
-
Save vinhjaxt/398d5850f08348450f06eed1a261d0d7 to your computer and use it in GitHub Desktop.
Cập nhật thời gian VPS
This file contains hidden or 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
sudo date -s "$(wget -qSO- --max-redirect=0 google.com 2>&1 | grep Date: | cut -d' ' -f5-8)Z" | |
sudo timedatectl set-timezone Asia/Ho_Chi_Minh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment