?:通配一个任意字符
[root@hexingxing ~]# find -name ?he.txt
./the.txt
./newdir3/the.txt
// ?通配任意字符
*:匹配 0 个或任意多个何意字符,可以匹配任何内容
[root@hexingxing ~]# ll *.zip
-rw-r--r--. 1 root root 18909509 9 月 8 21:09 CentOS-7-x86_64-Minimal-1511.zip
-rw-r--r--. 1 root root 196 9 月 8 20:53 mm.zip
# 列出所有 zip 类型文件
[abc] :匹配 a 或 b 或 c,代表一定匹配一个字符
[]
# 匹配中括号内任意一个字符
[a-z]:匹配字母 a-z 的字符
[-]
# 匹配中括号内任意一个范围内的字符
[^0-9]: 匹配一个不是数字化的字符
[^]
# 逻辑非,匹配不是中括号内的一个字符
0 条评论