小编Dan*_*rra的帖子

为什么没有通配符“?” 工作?

我正在学习通过 WSL 在 Ubuntu 上使用终端。现在我正在练习通配符,但是?通配符对我不起作用。

正如您所看到的,*通配符有效,但这个无效:

$ ls file*
file.html file.js file.txt
$ ls dot*
dot.txt dot1902.html dot2.txt
$ ls *.html
archivoPruebaClase.html dot1902.html file.html
$ ls dot?
ls: cannot access 'dot?': No such file or directory
$ ls index?
ls: cannot access 'index?': No such file or directory
Run Code Online (Sandbox Code Playgroud)

command-line bash wildcards

5
推荐指数
1
解决办法
2081
查看次数

标签 统计

bash ×1

command-line ×1

wildcards ×1