Disable glob expansion.
Section: set and shopt
Disable pathname expansion
bash
bash
set -fExplanation
Useful when handling user-provided patterns literally.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing set and shopt
Inspect command resolution
Show whether a name resolves to an alias, builtin, function, or executable.