How To Configure Time Zone In Ubuntu terminal

If you want to know how to configure the time and time zone of your Ubuntu terminal, keep reading this article where we will explain everything about it.

Here you will learn where you can view the current time, as well as how you can change the time zone. In addition, we will show you the procedure to follow to adjust the time manually, and finally, you will know how you can manage timesyncd with timedatectl in your Ubuntu.

Index(  )

  1. Where can you see the current time in your Ubuntu terminal?
  2. How can you change the time zone of your Ubuntu?
    1. What is the procedure to set the time manually?
  3. How can you manage timesyncd with timedatectl in Ubuntu?

Where can you see the current time in your Ubuntu terminal?

Before starting to configure, you should mainly know where you can see the current time in your Ubuntu terminal. You will already know that knowing how the terminal works , so, in order to know this relevant information, you only have to execute the “date” command in the terminal and that’s it. In this way, you can easily check the time and time zone.

Note: In the Ubuntu OS terminal , it is normal for the time zone to be set automatically at installation time. However, as we mentioned above, there is the possibility of simply changing it later.

How can you change the time zone of your Ubuntu?

Now, once the time and time zone have been verified, you can successfully make the customization you want. Therefore, to change the time zone of your Ubuntu, you should know that this procedure is the same for all versions of Linux operating systems, apply these simple and quick steps:

  • The first thing you should do is to know all the available zones,including their syntax. To achieve this, you have to use the command: “timedatectl list-timezones” (that is, you will have to write this syntax in the terminal).
  • Then you will be shown that list of all available zones, (including syntaxes). That is when you will need to set a new time zone,(which will affect the time based on its structure) by executing this syntax: timedatectl set-timezone “zone.”
  • Finally, you just have to check with the “date” command the changemade in the time zone of your Ubuntu. It should be noted that you will immediately be able to visualize the change made without any problem. In this sense, and following these simple steps, I assure you that you will be able to change the time zone in your Ubuntu terminal successfully.

What is the procedure to set the time manually?

On the other hand, it should be noted that you can also set or adjust the time manually. In this sense, to achieve this, you must follow the following simple procedure:

  1. The first thing you should do is press on the clockand then select “Date and Time Settings.”
  2. Next, you have to check the option to set the time manually.
  3. In the end, you will only have to choose the correct current time and click on “accept”.In this way, you can make the same adjustment described above, but manually.

How can you manage timesyncd with timedatectl in Ubuntu?

Ubuntu makes use of the timesyncd command, in order to get updates for the system through the terminal, even to update the general Ubuntu system . Next, we explain the steps that you must follow if you want to manage timesyncd with timedatectl in Ubuntu :

The first thing you should do is run timedatectl to get all the timezone details. Later, the fundamental details will appear, such as: universal time; RTC time; Local time; local date; and the synchronization status.

Now, if in your case the “NTP Service” line is disabled (set to “no”), you can enable it with the command: sudo timedatectl set-ntp on. It should be noted that performing this action is important, since in this way, the time can be properly synchronized in the system.

In summary, we describe how to adjust or configure the time and time zone of your Ubuntu terminal. As you can see, with this article you can already know where to display the current time, how to change the time zone in a simple way, the procedures to adjust the time manually. As well as how to manage timesyncd with timedatectl on your Ubuntu.

by Abdullah Sam
I’m a teacher, researcher and writer. I write about study subjects to improve the learning of college and university students. I write top Quality study notes Mostly, Tech, Games, Education, And Solutions/Tips and Tricks. I am a person who helps students to acquire knowledge, competence or virtue.

Leave a Comment