expansion
Bash Filename expansion
Replaces unquoted patterns with matching pathnames; leaves unmatched patterns literal by default.
Formal Syntax & Structure
bash syntaxbash
*.txtReturn Value
shell behavior
Replaces unquoted patterns with matching pathnames; leaves unmatched patterns literal by default.
Working Example
Example Snippetbash
touch 'daily report.txt' notes.txt image.pngprintf '[%s]\n' *.txt