Skip to content

tag

#expansion

1 post

Shell & TerminalDeep Dive July 10, 2026 3 min read

How Shell Expansion and Globbing Actually Work

By the time a command you typed actually runs, the shell has already rewritten it — expanding variables, substituting command output, and turning wildcard patterns into real filenames. Here's the exact order that happens in.

#deep-dive#bash#globbing
Read more