exam questions

Exam LFCS All Questions

View all questions & answers for the LFCS exam

Exam LFCS topic 1 question 67 discussion

Actual exam question from Linux Foundation's LFCS
Question #: 67
Topic #: 1
[All LFCS Questions]

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

  • A. history
  • B. set
  • C. bashconf
  • D. setsh
  • E. envsetup
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
rona962
2 months, 4 weeks ago
Selected Answer: 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.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago