LPIC-1 Exam 101 (Linux Administrator) — Question 36

Which of the following commands is used to change options and positional parameters for a running Bash?

Answer options

Correct answer: B

Explanation

The correct answer is 'set' because it allows you to change the parameters and options of the current shell environment. The other options, like 'history', 'bashconf', 'setsh', and 'envsetup', do not provide the functionality to modify Bash parameters directly.