- A glob is a short hand to express multiple file names
- Globs are expanded by the shell before being passed to the
program -- important difference from DOS
-
?
, *
-- match single or multiple
characters in a file name
-
~
, ~user
-- home directory
- Move all of the files beginning with "A" up a level:
% mv A* ..
- Move all of the files in a directory up a level:
% mv * ..
- CAUTION: because globs are expanded by the shell a
command is not usually aware of them, this can have unitentional
consequences