chtz Command
Purpose
Changes the TimeZoneInfo (TZ) environment variable in the /etc/environment file.
Syntax
chtz TimeZoneInfo
Description
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.
Files
Item | Description |
---|---|
/etc/environment | Contains variables specifying the basic environment for all processes. |