nerdexam
CompTIA

XK0-004 · Question #58

A junior systems is configuring localization option environment variables. The administrator is given a checklist of tasks with the following requirements: - View current settings of the LC_ALL enviro

The correct answer is A. echo $LC_ALL D. export LANG = en_US.UTF-8. LC_ALL is the strongest locale environment variable, except for LANGUAGE. It overrides every other variable in priority and is the first to be checked by the system when a locale setting is

System Management

Question

A junior systems is configuring localization option environment variables. The administrator is given a checklist of tasks with the following requirements:

  • View current settings of the LC_ALL environment variable only.
  • Modify the LANG environment variable to US English Unicode.

Given this scenario, which of the following should be performed to meet these requirements? (Choose two.)

Options

  • Aecho $LC_ALL
  • Blocale
  • Ccat $LC_ALL
  • Dexport LANG = en_US.UTF-8
  • Eexport $LANG = en_US.UTF
  • Fstty

How the community answered

(30 responses)
  • A
    90% (27)
  • B
    3% (1)
  • E
    7% (2)

Explanation

LC_ALL is the strongest locale environment variable, except for LANGUAGE. It overrides every other variable in priority and is the first to be checked by the system when a locale setting is

Topics

#locale#environment variables#LANG#LC_ALL

Community Discussion

No community discussion yet for this question.

Full XK0-004 Practice