typora/note/linux/command/bash 匹配特性.md
2024-12-12 10:48:55 +08:00

5 lines
271 B
Markdown

- `ls -alh file[0-9,10,11]` 匹配中括号里的单个字符
- `ls -alh file{1,2,3,44,11}` 匹配花括号逗号分割的每一个
- `ls -alh file{1..12}` 匹配1到12
- ![e71126bba215cba932a20e2823001160.png](../../../_resources/e71126bba215cba932a20e2823001160.png)
-