星号*
匹配任意字符
he*.c
*处可以是任意个任意字符
例:hello.c hel.c hel.ccc
问号?
匹配任意一个字符
h?.c
?处只能是一个任意字符
例:h1.c h2.c he.c
方括号[]
匹配括号内所限定的任何一个字符
[Hh]ello
匹配括号中的任何一个字符
例:Hello hello
file[1-5]
即表示括号中为1,2,3,4,5
例:file1 file2 file3 file4 file5
叹号!
如果在括号内,表示不匹配括号所限定的任何单个字符
file[!123]
表示不匹配 file1 file2 file3
file[!1-3]
也表示不匹配 file1 file2 fil3