Manage Bash shell options: variables (stored in
$BASHOPTS
) that control behavior specific to the Bash shell. Generic POSIX shell variables (stored in$SHELLOPTS
) are managed with theset
command instead.
shopt
shopt -s {{option_name}}
shopt -u {{option_name}}
shopt
commands:shopt -p
help shopt