typora/note/linux/command/bash 匹配特性.md

5 lines
271 B
Markdown
Raw Permalink Normal View History

2024-12-11 21:48:55 -05:00
- `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)
-