Syntax
shopt [-pqsu] [-o] [optname ...]
Options
-s Enable (set) each optname
-u Disable (unset) each optname.
-p Display a list of all settable options, with an indication of
whether or not each is set. The output is displayed in a form
that can be reused as input. (-p is the default action)
-q Suppresses normal output; the return status indicates whether the optname
is set or unset. If multiple optname arguments are given with '-q',
the return status is zero if all optnames are enabled; non-zero otherwise.
-o Restricts the values of optname to be those defined for the '-o' option to
the set builtin.
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter