Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我创建了一个别名ll="ls -laF"并尝试使用ll *[aeiou] [aeiou]* 它,它只显示了所有包含两个文件的文件,其中两个文件中包含字母 aeiou。我也尝试过ll *[aeiou]*,我只是再次获得文件中所有内容的列表。
ll="ls -laF"
ll *[aeiou] [aeiou]*
ll *[aeiou]*
这 ?匹配单个字符,因此您正在寻找 ls -laF ?[aeiou]*
ls -laF ?[aeiou]*