The tzselect command on Linux can be used to choose the time zone zone and show the correct value for the variable TZ.
Its operation is simple: you must first choose the continent:
Then you must choose the country:
And finally the Time Zone:
Once the desired Time Zone is selected, tzselect asks you to confirm the settings:
Yes
No And then it creates the command line for configuring the TZ variable and also indicates where it should be saved:
Learn much more about Linux in our online course. You can register here. If you already have an account, or want to create one, just log in or create your user here.