Text-only | Table of Contents (frame/ no frame) |
(8) Filename Wildcards |
![]() ![]() ![]() |
*
- Match zero or more characters.
?
- Match a single character
[...]
- Match a range of characters
ls exam[12345]
will match files exam1-exam5; can specify a range with ls exam[1-5]
[^..]
- Match any character NOT named (tcsh)
^pattern
- Match file names NOT matching the pattern
ls exam*
- Lists all files that begin with the string "exam"
echo
pattern
slide08.src last modified Feb 8, 2011 | Introduction | Table of Contents (frame/no frame) |
Printable (single file) |
© Dartmouth College |