2.23-25 find 命令

命令:find
类似:which 【命令】
whereis 【命令】
locate 需要安装包【mlocate】,需要updatedb 更新 /var/lib/mlocate/mlocate.db

功能: 查找 目标对象
用法:find 【命令选项】【路径】【表达式】
参数:
-empty 查找空白文件或目录
-froup 按组查找
-name 按文档名称查找
-iname 按文档名称查找,且不区分大小写
-mtime 按修改时间查找
-size 按容量大小查找
-type 按文档类型查找
-user 按用户查找
-exec 对找到的档案执行特定的命令
-a 并且
-o 或

猜你喜欢

转载自blog.csdn.net/hx_7_8_9/article/details/82746915