shopt-option

Bash nocaseglob

Ignores case in filename pattern matching.

Formal Syntax & Structure

bash syntaxbash
shopt -s nocaseglob

Return Value

shell behavior

Ignores case in filename pattern matching.

Working Example

Example Snippetbash
touch report.TXTshopt -s nocaseglobprintf '%s\n' *.txt
Bash Reference