Change Time Zone on CentOS and RHEL

Windows Articles

The best lightweight web browsers

Hi! We currently spend a lot of time in front of the computer connected to the Internet. In fact, it is a...

Install Snowflake (SSH Client) on Ubuntu 20.04

Linux system administrators on servers have a big job behind them. Thanks to them, many of the services or tasks that an...

How to install Trisquel 9.0

A few days ago we talked about the release of Trisquel 9.0, this distro is based on the Ubuntu 18.04 LTS packages....

Learn about the Ramnit threat and how to remove it from Windows 10.

Hello! There are computer security threats that can appear spontaneously. But, then they may not last long. On the other hand, malware...

How to get the Nextcloud desktop client on Linux?

Hello friends. We already know how to install a Nextcloud server but now the client is missing. So in this post, you...

Time zone is one of the most important and basic system settings that have to CORRECTLY set. Without a proper time zone, lots of your online services and apps aren’t going to work or even allow you to access the service at all.

CentOS and RHEL are the enterprise Linux distros we got at the higher ends. As they’re used for higher level works, you must make sure that the system is configured with the correct time zone.

Let’s find out on changing and fixing the time zone of your CentOS and RHEL.

Changing time zone

Fire up a terminal –

Run the following command –

timedatectl

This will show the current time and time zone.

Now, run the following command –

timedatectl list-timezones

This will show you a HUGE list of available time zones. If you want to show the time zones for a specific area, use “grep”.

timedatectl list-timezones | grep Asia

Once you’ve identified your time zone, it’s TIME to bake it into your system!

timedatectl set-timezone Asia/Dhaka

Verifying the result

Run the following commands –

date

ls -l /etc/localtime

Enjoy!

More articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest article

The best lightweight web browsers

Hi! We currently spend a lot of time in front of the computer connected to the Internet. In fact, it is a...

Install Snowflake (SSH Client) on Ubuntu 20.04

Linux system administrators on servers have a big job behind them. Thanks to them, many of the services or tasks that an...

How to install Trisquel 9.0

A few days ago we talked about the release of Trisquel 9.0, this distro is based on the Ubuntu 18.04 LTS packages....

Learn about the Ramnit threat and how to remove it from Windows 10.

Hello! There are computer security threats that can appear spontaneously. But, then they may not last long. On the other hand, malware...

How to get the Nextcloud desktop client on Linux?

Hello friends. We already know how to install a Nextcloud server but now the client is missing. So in this post, you...
x