how to change date and time of linux with bash file code example
Example 1: show date linux
date +"%d-%m-%y"
Example 2: 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