Make globs match dotfiles too.
Section: Globbing and Brace Expansion
Include dotfiles in globs
bash
bash
shopt -s dotglobExplanation
Useful for file moves and maintenance tasks.
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 Globbing and Brace Expansion