Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

time is not updating from internet ubuntu

sudo date -s "$(wget -qSO- --max-redirect=0 google.com 2>&1 | grep Date: | cut -d' ' -f5-8)Z"
Source by askubuntu.com #
 
PREVIOUS NEXT
Tagged: #time #updating #internet #ubuntu
ADD COMMENT
Topic
Name
2+9 =