小编Sub*_*kur的帖子

查找命令输出没有给出想要的结果

创建文件

touch a1.txt a2.txt a3.txt
touch s1.mp3 s2.mp3 s3.mp3
Run Code Online (Sandbox Code Playgroud)

然后我做

find . -name "*.txt" -or -type f -print
Run Code Online (Sandbox Code Playgroud)

而且它只显示s1.mp3 s2.mp3 s3.mp3. 为什么不显示.txt文件?

command-line find

0
推荐指数
1
解决办法
35
查看次数

标签 统计

command-line ×1

find ×1