Answers for "set date and time linux"

1

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
Posted by: Guest on August-18-2020
0

set date and time linux

date -s 'Fri Aug 13 11:02:00 GMT 2021'
Posted by: Guest on August-13-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language