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 thesetcommand instead. More information: https://www.gnu.org/software/bash/manual/html_node/The-Shopt-Builtin.html.
shopt
shopt -s option_name
shopt -u option_name
shopt commands:shopt -p
help shopt