📌  相关文章
📜  linux 查找特定文件夹下的文件类型 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:49:31.258000             🧑  作者: Mango

代码示例1
find . -type f -name "config-*.json" | grep "prod"

or

# I'd personally use find, but you can glob for these things too:

shopt -s globstar
ls /etc/{,**/}*.conf

# And you can use locate and it's fast but not reliable.

locate '/etc/**.conf'