Skip to Content
Learning Shell Scripting with Zsh
book

Learning Shell Scripting with Zsh

by Gaston Festari
January 2014
Beginner
132 pages
2h 45m
English
Packt Publishing
Content preview from Learning Shell Scripting with Zsh

Getting started with Globbing

Filename Generation, popularly known as Globbing (as in, Global substitution), is the ability of the shell to generate filenames from patterns. This is but the name for the process that allows the shell to read a pattern and generate a series of filenames; as a matter of fact, you might notice you have been using Globbing for quite a while in this book, the only difference is, we're now formally introducing the feature. Also, be aware that whenever we mention filenames in this text, it means both file and folder names, as you can use pretty much the same patterns to match both.

The really important thing you need to remember when dealing with Globbing is that filename substitution happens in the shell right before ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Zsh in macOS: Terminal Commands for Unix

Zsh in macOS: Terminal Commands for Unix

Karl Hadwen

Publisher Resources

ISBN: 9781783282937Supplemental Content