SHOPT : Toggle the values of variables controlling optional shell behavior.
FORMAT:
shopt [-pqsu] [-o] [optname ...]
With no options, or with the -p option, a list of all settable options is displayed, with an indication of whether or not each is set.
...
Read more »