The following examples show the use of wildcards.
The first command lists all the entries in a directory, and the rest
use wildcards to list just some of the entries.
The last one is a little tricky; it matches files whose names contain
two (or more) a's.
$ ls
chap10 chap2 chap5 cold
chap1a.old chap3.old chap6 haha
chap1b chap4 chap7 oldjunk
$ ls chap?
chap2 chap5 chap7
chap4 chap6
$ ls chap[5-7]
chap5 chap6 chap7
$ ls chap[5-9]
chap5 chap6 chap7
$ ls chap??
chap10 chap1b
$ ls *old
chap1a.old chap3.old cold
$ ls *a*a*
chap1a.old haha