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
- A. history
- B. set
- C. bashconf
- D. setsh
- E. envsetup
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.