Objective 107.3: Localization and Internationalization

  • The suite of programs that comes with the Network Time Protocol (NTP) allow you to keep your system and hardware clocks in sync with accurate time servers over the Internet.

  • ntpd –q will update a system clock against an NTP server and then exit.

  • Hardware clocks are configured to reflect either local time or Universal Coordinated Time (UTC) plus a time zone offset. The command hwclock can be used to manipulate a hardware clock from within Linux.

  • The file /etc/localtime should be a symbolic link to the time zone configuration file appropriate for your locale. For example, in the central United States:

    # ls –l /etc/localtime
    lrwxrwxrwx 1 root root 30 Sep 12 13:56 /etc/localtime \
             -> /usr/share/zoneinfo/US/Central
  • The command tzselect can be used to change your system’s time zone.

Get LPI Linux Certification in a Nutshell, 3rd Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.