centos查找文件目录内容命令

it2022-05-05  128

1、查找文件

find / -name 'php.ini'12、查找目录

find / -name 'path' -type d13、查找内容

find . | xargs grep -ri 'content'//find . | xargs grep -ril 'content' 只显示文件名称

4、查找*.ini文件

find / -name '*.ini'

转载于:https://www.cnblogs.com/leelice/p/10906188.html


最新回复(0)