From the course: Linux: Files and Permissions
Unlock the full course today
Join today to access over 24,500 courses taught by industry experts.
The Magic of extended globs - Linux Tutorial
From the course: Linux: Files and Permissions
The Magic of extended globs
- [Instructor] Standard Globs handle the majority of common file matching needs. However, there are times when more pattern matching power is necessary. We might want to match more than one character at a time. We may want to group patterns and specify how many occurrences of a pattern or group to match. We might want to match this group or that group. We may even want to invert a group and match everything that is not listed in the pattern. For more powerful file globing Bash includes Extended Globs. Extended Globs have been part of the Bash shell for more than 20 years and yet many experienced Linux's admins are unaware of their power and are quite surprised when they see them used. As such, I have named this video, the Magic of Extended Globs. One reason that Extended Globs may fly under the radar is that in some distributions they need to be enabled manually before you can use them. Extended Globs, give you file…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
What is a file?4m 59s
-
(Locked)
Getting information about files5m 29s
-
(Locked)
About extended attributes3m 54s
-
(Locked)
Getting extended attributes4m 14s
-
(Locked)
About file globs5m 9s
-
(Locked)
Using character classes3m 7s
-
(Locked)
Using globs to match files6m 42s
-
(Locked)
Matching with brace expansion6m 11s
-
(Locked)
The Magic of extended globs6m 25s
-
(Locked)
Matching files with extended globs2m 22s
-
(Locked)
Advanced extended globs4m 22s
-
-
-
-
-