nerdexam
CompTIA

XK0-004 · Question #506

A systems administrator wants to change the system locale to test a custom script. Which of the following commands should the administrator execute?

The correct answer is C. export LC_ALL=en_GB.UTF-8. https://unix.stackexchange.com/questions/259569/change-locale-in-script

System Management

Question

A systems administrator wants to change the system locale to test a custom script. Which of the following commands should the administrator execute?

Options

  • Aexport TZ=:/usr/share/zoneinfo/Europe/Paris
  • Bln -s /usr/share/zoneinfo/US/Central /etc/localtime
  • Cexport LC_ALL=en_GB.UTF-8
  • DTZ=GMT date

How the community answered

(22 responses)
  • B
    5% (1)
  • C
    91% (20)
  • D
    5% (1)

Explanation

https://unix.stackexchange.com/questions/259569/change-locale-in-script

Topics

#locale#LC_ALL#environment variables#internationalization

Community Discussion

No community discussion yet for this question.

Full XK0-004 Practice