![]() List available time zones with the following command.Type the following command to see what time zone your system is currently configured for. If you decide to keep time synchronization on, then you just need to configure the system’s time zone in order to have it automatically pull the correct data from a time server.This command will set the date and time to 10 January 2021, 12:00 PM, but substitute any values you want. If you’d like to set the system clock to some arbitrary date and time, ensure that time synchronization is off (as we’ve shown above) and use the following date command.Turn time synchronization on or off, respectively, with the commands below. If you plan to set the date and time manually, time synchronization will need to be turned off, otherwise your changes will be quickly overridden by the system. The first thing to decide is whether you want time synchronization on or off.We’re assuming that you’re running a distro with systemd, which there’s an extremely high chance that you are. Setting a Linux system’s date, time, and time zone can also be done from the command line, as we’ll see below. You can close the Date and Time settings menu after you’re satisfied with the changes. ![]() Choose a time zone from the list or begin typing one for suggestions
0 Comments
Leave a Reply. |