$SHELLOPTS
–
List of enabled shell options
$SHELLOPTS
is a colon-separated list of the currently enabled shell options. It contains options, which are
controlled by the set
command.
$BASHOPTS
is similar, but for the options managed by the shopt
builtin command.
Links
Examples
- Print the enabled shell options
1
echo $SHELLOPTS
BashSupport Pro ist eine Bash IDE mit Unterstützung für $SHELLOPTS – probieren Sie es aus!