Wireless Army
This is a blog / tips and tricks website for web developers and security researchers.
follow us in feedly


fix date time timezone in linux command line
by admin
 at 2022-03-15 20:15:20.

The following 2 lines installs ntp and enables it

apt install systemd-timesyncd
timedatectl set-ntp true

to verify time you can run:

timedatectl
date

you can run the following to setup the proper timezone:

dpkg-reconfigure tzdata