Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

debian change time command line

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