Difference between revisions of "Shopt Bash buildin"
Jump to navigation
Jump to search
↑ https://www.gnu.org/software/bash/manual/html_node/The-Shopt-Builtin.html
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{lowercase}} | {{lowercase}} | ||
− | <code>[[shopt]]</code> | + | <code>[[shopt]]</code><ref>https://www.gnu.org/software/bash/manual/html_node/The-Shopt-Builtin.html</ref> Bash [[buildin]] allows you to change additional shell optional [[behavior]]. |
− | |||
− | * <code>shopt -s [[nocasematch]]</code> | + | * <code>[[shopt -s]] [[nocasematch]]</code> |
* <code>shopt -s [[globstar]]</code> | * <code>shopt -s [[globstar]]</code> | ||
− | |||
* <code>[[shopt -s expand_aliases]]</code> | * <code>[[shopt -s expand_aliases]]</code> | ||
− | |||
* <code>shopt -s [[histappend]]</code> | * <code>shopt -s [[histappend]]</code> | ||
− | |||
* <code>[[shopt -s execfail]]</code> | * <code>[[shopt -s execfail]]</code> | ||
+ | * <code>[[shopt -s dotglob]]</code> | ||
== Errors == | == Errors == | ||
Line 18: | Line 15: | ||
== Related == | == Related == | ||
* <code>[[export]]</code> | * <code>[[export]]</code> | ||
+ | * <code>[[set -o]]</code> | ||
+ | * [[Buildin]] | ||
== See also == | == See also == |
Latest revision as of 11:47, 23 August 2024
shopt
[1] Bash buildin allows you to change additional shell optional behavior.
shopt -s nocasematch
shopt -s globstar
shopt -s expand_aliases
shopt -s histappend
shopt -s execfail
shopt -s dotglob
Errors[edit]
shopt zsh: command not found: shopt
Related[edit]
See also[edit]
shopt: execfail, expand_aliases, histappend, dotglob
set, unset, set -o, set -x, set -e, set +e, set -E, set +b, set -u, $?, exit, return, trap, PostgreSQL SET
Advertising: