Changes the TimeZoneInfo (TZ) environment variable in the /etc/environment file.
chtz TimeZoneInfo
The chtz command is a high-level shell command that changes the TZ environment variable in the /etc/environment file. The chtz command returns a value of 0 if successful and nonzero if unsuccessful.
Item | Description |
---|---|
/etc/environment | Contains variables specifying the basic environment for all processes. |