Exam LFCS All QuestionsBrowse all questions from this exam
Question 66

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

    Correct Answer: B

    The command used to change options and positional parameters for a running Bash is 'set'. The 'set' command in Bash is used to set or unset shell options and positional parameters, allowing users to modify the behavior of the shell and how it executes commands.

Discussion
rona962Option: B

The command that is used to change options and positional parameters for a running Bash is: B. set Explanation: The "set" command in Bash is used to set or unset values of shell options and positional parameters. It can be used to change the behavior of the shell and the way it executes commands. This command is frequently used in shell scripts to modify the shell environment or to configure command execution. Option A is used to display the command history in Bash. Option C, D, and E are not valid Bash commands.