Linux timeconfig command
The Linux timeconfig command is used to set the time zone.
This is a program developed by Red Hat following GPL rules. It has an interactive interface, and you can easily use the arrow keys and space bar to set the time zone of the system time.
Syntax
timeconfig [--arc][--back][--test][--utc][时区名称]
Parameters:
- --arc Store the system time in the format used by Alpha hardware architecture.
- --back In the interactive interface, show the Back button instead of the Cancel button.
- --test For testing only; it does not actually change the system's time zone.
- --utc Treat the time on the hardware clock as CUT, sometimes also called UTC or UCT.
Example
# timeconfig //Set timezone
Linux Command Reference