Shopt - Manage Bash Shell Options | Online Free DevTools by Hexmos
Manage Bash shell options with Shopt. Configure shell behavior and customize your environment using simple commands. Free online tool, no registration required.
shopt
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 thesetcommand instead. More information: https://www.gnu.org/software/bash/manual/bash.html#The-Shopt-Builtin.
- List of all settable options and whether they are set:
shopt
- Set an option:
shopt -s {{option_name}}
- Unset an option:
shopt -u {{option_name}}
- Print a list of all options and their status formatted as runnable
shoptcommands:
shopt -p
- Display help:
help shopt
