Quick Command – Change timezone in Ubuntu

Technical

echo "Asia/Hong_Kong" | sudo tee /etc/timezone

followed by

sudo dpkg-reconfigure --frontend noninteractive tzdata

Advertisements