How to update/change time in the Ubuntu server.
In this guide, we will walk you through the process of updating and changing the time on your Ubuntu server using the command line. When you need to manually set the time, this guide will provide you with the information you need to get started.
- SSH Login details
- Time zone details
Step 1: Log in to the server using SSH
Step 2: To find the available time zones in the server
Step 2: Check the current time on the server
Step 3: To set the new timezone in the server
|#timedatectl set-timezone Asia/Kolkata|
To check the change enter the #timedatectl command in step 2.
The local time is updated.
Step 4: To confirm the time change in the server.
In this section, we have seen updating and changing the time on your Ubuntu server using the command line.