shopt Command Examples

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 the set command 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 -p

help shopt