LPIC-1 Exam 101 v5 (Linux Administrator) — Question 53

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

Answer options

Correct answer: D

Explanation

The correct command is 'set', which is used in Bash to set or unset values of shell options and positional parameters. The other options do not serve this purpose; 'history' displays the command history, 'setsh' and 'bashconf' are not valid commands, and 'envsetup' is not recognized in this context.