Problem
1. Devise wild-card patterns to match all filenames comprising at least three characters
(i) where the first character is numeric and the last character is not alphabetic,
(ii) not beginning with a dot,
(iii) containing 2004 as an embedded string except at the beginning or end.
2. Explain what these wild-card patterns match:
(i) [A-z]????*,
(ii) *[0-9]*,
(iii) *[!0-9],
(iv) *.[!s][!h].
3. A directory bar contains a number of files, including one named -foo. How do you remove the file?