Enabled Shell Options
$BASHOPTS is a colon-separated list of enabled shell options. It contains options managed by the
shopt builtin command.
$SHELLOPTS is similar, but only for the options controlled by the
Print the enabled shell options :
BashSupport Pro is a Bash IDE with support for $BASHOPTS – try it now!