Developer's Daily | Unix by Example |
main | java | perl | unix | dev directory | web log |
timeconfig ? simple interface for configuring system time parameters |
timeconfig [--utc] [--arc] [--back] [--test] [timezone] |
timeconfig provides a simple method of configuring both /etc/sysconfig/clock and /etc/localtime which is compatible with both the standard Red Hat startup scripts and timeconfig(8). If a timezone is specified, the system timezone is change to the timezone specified. Otherwise, a menu of available timezones is displayed. If --utc is given, the system clock is assumed to be in universal (Greenwhich mean) time. If --arc is used, the system clock is assumed ot be stored in the format used by the ARC platform on Digital Alpha platforms (the --arc option is only available on Alpha hardware). The timeconfig window contains a Cancel button by default. If --back is specified at run time, a Back button is presented instead. If --test is specified, timeconfig may be run as a non-root user, and no changes are written to the filesystem. |
timeconfig returns 0 on success, 2 on error, and 1 if the user cancelled the program (by using either the Cancel or Back button). |
/etc/sysconfig/clock |
Configures the format used by the hardware clock. |
/etc/localtime |
File containing timezone data, copied from /usr/share/zoneinfo. |
clock(8), setclock(8) |
Erik Troan <ewt@redhat.com> |