bash/globbing
< bash
Jump to navigation
Jump to search
Revision as of 18:20, 5 February 2020 by Woozle (talk | contribs) (Created page with "The following notes may apply to other shell environments besides bash, but have only been tested with bash. Commands invoked via bash always, by default, have each o...")
The following notes may apply to other shell environments besides bash, but have only been tested with bash.
Commands invoked via bash always, by default, have each of their arguments parsed via the glob system facility before being passed to the command.
Globbing can be turned off on a per-session basis:
set -o noglob
- turns off globbing
- put it in
~/.bashrc
to make it the default
set +o noglob
- turns globbing back on
help set
- returns more information about bash's
set
command (the "set" manpage is for something else)
- returns more information about bash's