1.6 Given a scenario, configure localization options Flashcards

1
Q

What is the location for the system time zone on Debian Based Systems?

A

/etc/timezone

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Where is the directory that contains a list of zone files, either directly in the directory or within the subdirectories:

A

/usr/share/zoneinfo

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What command can be used to display and change both locale values and keyboard layouts?

A

localectl

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What command is used to display the system clock?

A

The timedatectl command is used to display the system clock

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the date command used for?

A

the date command is used to display the system clock

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the command used to display the real-time clock (RTC)?

A

The hwclock command is used to display the real-time clock (RTC)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What does LC_* refer to?

A

LC_* refers to a collection of locale settings used to change the way the shell and other programs handle differences based on the geographic region of the user (or a region the user is familiar with). These values can be viewed by executing the locale command

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What happens when LC_ALL is used?

A

When set, LC_ALL will override all other locale settings. This provides an easy means to change all locale settings by modifying one environment variable

[root@OCS ~]# LC_ALL=es_ES.UTF8 man

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Explain the LANG variable

A

When set, LANG will provide a default locale value. This can be overwritten for specific locale features by setting other locale variables. For example, the following would set the default to Spanish but use the date/time formats for English:

[root@OCS ~]# LANG=es_ES.UTF8 LC_TIME=en_US.utf8 man

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the TZ variable used for?

A

The TZ variable can be used to set a different time zone than the system default:

[root@OCS ~]# date
Tue Feb 28 21:58:33 PST 2017
[root@OCS ~]# TZ=America/Goose_Bay date
Wed Mar 1 01:59:02 AST 2017

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Unicode

A

An encoding standard that includes ASCII within the first 7 bits (128 characters). The additional bits are used for additional, non-English characters. Unicode has gone through several revisions, including UTF-8, UTF-16, and UCS

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

ASCII

A

American Standard Code for Information Interchange (ASCII ) is an English-only encoding format that is limited to 128 characters (a 7-bit code). Extended ASCII can support additional, non-English characters

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

UTF-8

A

UTF-8 is a variable-width character encoding capable of encoding all 1,112,064 valid character code points in Unicode using one to four one-byte code units. The encoding is defined by the Unicode Standard

How well did you know this?
1
Not at all
2
3
4
5
Perfectly