Section: set and shopt

Disable pathname expansion

bash
bash
set -f
Explanation

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
List set options
Print current shell option settings.
OpenIn sheetbashsame section
List shopt options
Print optional shell behavior toggles.
OpenIn sheetbashsame section
Enable recursive globstar
Enable ** recursive globbing.
OpenIn sheetbashsame section
Enable extended globbing
Enable advanced glob patterns.
OpenIn sheetbashsame section
Inspect command resolution
Show whether a name resolves to an alias, builtin, function, or executable.
Show history
Display recent command history.