Back to Developer Roadmap

Curly Braces Wildcards

src/data/roadmaps/shell-bash/content/@mYg9d8e0_XjtXBqBYtaaL.md

4.0668 B
Original Source

Curly Braces Wildcards

Curly braces {} are used for multiple matches. Each string can be an exact name, or a wildcard. It will find anything that matches any of the given strings using an or relationship (one OR the other). For example, touch file{1,2,3}.txt will create three files: file1.txt, file2.txt, and file3.txt.

Visit the following resources to learn more: