AI engineering glossary · Command line Git

What is glob pattern?

Glob pattern (also called Wildcard, Globbing): A shorthand for matching many file names at once using wildcard characters, expanded by the shell before the command runs. An asterisk matches any run of characters and a question mark matches exactly one. It is simpler than but different from regular expressions.

Level: beginnerTopic: Command line Git

Glob pattern: an example

rm *.tmp deletes every file in the folder whose name ends in .tmp; ls data_??.csv matches data_01.csv but not data_100.csv.

Related terms

More Command line Git terms

Where you learn it

Glob pattern is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.