How To Set or Change Time zone on Ubuntu Server 20.10

 How To Set or Change Time zone on Ubuntu Server 20.10 :-


How To Set or Change Timezone on Ubuntu Server 20.10 :-


sudo -i

Checking the Current Timezone :- 

timedatectl

ls -l /etc/localtime

cat /etc/timezone



Changing the Timezone Using the timedatectl Command:-

timedatectl list-timezones

timedatectl set-timezone Asia/Kolkata

timedatectl


Changing the Timezone by Reconfiguring tzdata:-

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

sudo dpkg-reconfigure --frontend noninteractive tzdata

cp /usr/share/zoneinfo/Asia/Kolkata /etc/localtime


Restart the server

Done




Changing the Timezone Using the GUI:- 







Comments

Popular posts from this blog

How to install and configure OSSEC server and client

Autodesk Maya 2024 Install Windows 11

Wazuh Server Detecting unauthorized processes