107.3 Localization And Internationalization Flashcards

(35 cards)

1
Q

Shutdown and reboot the system.

A

shutdown -r

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

Cancel a pending shutdown.

A

shutdown -c

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

Stops the system immediately, without nicely killing processes or unmounting file systems, so not a clean way to shut down.

A

halt

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

Set system date and time.

A

date -s

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

In Fedora: Command to modify /etc/localtime and /etc/timezone files.

A

tzconfig

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

In Debian: Command to modify /etc/localtime and /etc/timezone files.

A

dpkg-reconfigure tzdata

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

A menu-driven way to change the timezone.

A

tzselect

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

Set UTC as the local time by creating a symbolic link.

A

ln -s /usr/share/zoneinfo/UTC /etc/localtime

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

Command to display all of the current locale settings.

A

locale

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

Command to display all available locales.

A

locale -a

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

Command to print (to the screen) all environment variables.

A

env

printenv

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

Command to convert between different character encodings.

A

iconv -f [from encoding] -t [to encoding] [file] > newfile

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

See a list of supported encodings.

A

iconv -l

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

Command to generate a locale from /etc/locale.gen.

A

locale-gen [language abbreviation] [ISO number]

Then add to /etc/locale.conf, which is what gets listed with locale -a

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

Command to demote an environment variable back to a shell variable.

A

export -n [name]

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

List localization and language environment variable overrides.

A

LC_* overrides LANG overrides LANGUAGE

17
Q

Environment variable that sets the default language.

A

LANG

Overridden by any of the LC_* variables

18
Q

Environment variable that sets collation rules for regular expressions and sorting.

19
Q

Environment variable that refers to a person’s name.

20
Q

Environment variable that specifies the type of hardware terminal to emulate when running the shell.

21
Q

Environment variable that describes the shell that will interpret commands, the default is Bash.

22
Q

Term for a worldwide character encoding standard that can represent nearly all languages.

23
Q

Environment variable related to time that is not part of the locale settings.

24
Q

Environment variable that overrides the default time zone.

25
Linux locale settings include:
1. character type 2. language 3. number formatting 4. currency type and symbol 5. collation 6. date and time format 7. a person's name format 8. printer paper default type 9. telephone number format 10. format for system messages More
26
Term for a type of character encoding capable of encoding all possible characters (code points) defined by Unicode.
Unicode Transformation Format-8 (UTF-8) | Uses variable-length 8-bit code units for its encoding
27
Term for a series of standards for 8-bit ASCII-based character encodings, published in 1987, intended for Western European languages.
ISO 8859
28
Paths to user configuration files with precedence.
~/.bash_profile --> ~/.profile --> ~/.bashrc
29
Paths to system configuration files with precedence.
/etc/environment --> /etc/profile --> /etc/bash.bashrc
30
Path to the configuration file and environment variable to set all system messages to Japanese.
/etc/bash_profile | LC_MESSAGES="ja"
31
Path to the conf file where the locale is set for a user.
~/.profile
32
Path to the directory that contains a list of all time zones.
/usr/share/zoneinfo/
33
Path to the file that stores the default locale.
/usr/bin/locale | Overridden by LC_ALL
34
Path to the binary file that is either a symbolic link to or copy of a time zone information file such as /usr/share/zoneinfo/Africa/Cairo.
/etc/localtime
35
Path to the text file that sets the current system time zone.
/etc/timezone