Chapter 6. Given a scenario, configure localization options

This chapter provides information and commands concerning the following topics:

File locations

Commands

Environment variables

Character sets

File Locations

When the system boots, it needs to know how to adjust the time to reflect the correct time zone. This time zone information is stored in files that are defined in this section.

/etc/timezone

This is the location of the system time zone on Debian-based systems:

[root@OCS ~]# more /etc/timezone
America/Los_Angeles

This file should be set to values specified in the /usr/share/zoneinfo

Get CompTIA Linux+ Portable Command Guide: All the commands for the CompTIA XK0-004 exam in one compact, portable resource, 2nd Edition now with O’Reilly online learning.

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