notebox

Shell Pattern Matching

Shell Pattern Matching are expressions that are used to help match patterns while using interactive shells like bash. These Expressions are also used while scripting, in places like Bash Case Statements.

They are not the same as Regular Expressions.

eg:

cd ws*.host.com/[Yy]es.*

Related:

Tags:

#literature-note #pattern-matching #scripting