LPIC-1 Exam 102 v5 (Linux Administrator) — Question 119

Which of the following commands should be executed when starting a login shell in order to change the language of messages for an internationalized program to
Portuguese (pt)?

Answer options

Correct answer: B

Explanation

The correct answer is B, as the LC_MESSAGES environment variable specifically controls the language for message translations in internationalized programs. The other options either do not exist or do not have the correct function related to message localization.