For example, type ls [a-c] to find the files named a, b, and c.
例如,键入ls [a -c]以查找名为a、b或c的文件。
Typing ls [a-c]* finds all file names that begin with a, b, or c. Here, the * does not modify the [a-c] as grep's interpreter would; in the shell, * is interpreted as .*.
键入ls [a-c]*以查找以 a、b或c开头的所有文件名。此处的 *在Shell 中不像grep的解释器那样修饰 [a-c],*被解释为 .*。?
Typing ls [a-c]* finds all file names that begin with a, b, or c. Here, the * does not modify the [a-c] as grep's interpreter would; in the shell, * is interpreted as .*.
键入ls [a-c]*以查找以 a、b或c开头的所有文件名。此处的 *在Shell 中不像grep的解释器那样修饰 [a-c],*被解释为 .*。?
应用推荐