Difference between revisions of "Shopt Bash buildin"

From wikieduonline
Jump to navigation Jump to search
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{lowercase}}
 
{{lowercase}}
<code>[[shopt]]</code> Bash [[buildin]] allows you to change additional shell optional [[behavior]].
+
<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]].
* https://www.gnu.org/software/bash/manual/html_node/The-Shopt-Builtin.html
 
  
* <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>
Line 12: Line 11:
 
* <code>[[shopt -s execfail]]</code>
 
* <code>[[shopt -s execfail]]</code>
  
 +
* <code>[[shopt -s dotglob]]</code>
 +
 +
 +
== Errors ==
 
  shopt
 
  shopt
 
  [[zsh]]: command not found: shopt
 
  [[zsh]]: command not found: shopt
Line 17: Line 20:
 
== Related ==
 
== Related ==
 
* <code>[[export]]</code>
 
* <code>[[export]]</code>
 +
* <code>[[set -o]]</code>
  
 
== See also ==
 
== See also ==

Latest revision as of 13:19, 4 March 2024

Advertising: