Using Glob Pattern with the find Utility
Learn to use glob pattern with the find command.
We'll cover the following...
We'll cover the following...
What is a glob pattern?
A glob pattern is a search query that contains wildcard characters. Bash allows three wildcard characters: *, ?, and []. The asterisk stands for any number of characters. A question mark means a single character of any kind.
Here is an example of glob patterns. The string README matches all following patterns:
*MEREADM?*M?R*M?
Square brackets indicate a set of characters at a specific position. For example, the pattern [cb]at.txt matches the ...