find命令【linux】
来源:互联网 发布:阿里云计算机有限公司 编辑:程序博客网 时间:2024/06/15 07:58
语法:find 【查找路径】 【查找规则】【查找完执行的动作】
【查找路径】:
可以多个路径,用空格隔开。例:
find /root /data /tmp -name mysql
【查找规则】:
-name 查找文件
-iname 查找文件,不区分大小写
-type f/d/l/b/c/p/s 按类型
f 普通文件
d 目录
l 链接
b 块设备
c 字符设备
p 管道
s socket
-size 大小 按大小
-perm 按权限
-user 按文件属主
-group 按组
【查找完执行的动作】:
-print 默认情况,输出
-ls 列出
-ok 执行,需要询问是否执行
-exec 执行,不需要询问是否执行
0 0
- linux命令:find命令
- linux命令:find命令
- linux unix Find 命令
- linux find命令
- Linux Find命令
- linux find 命令实例
- Linux--find命令2
- Linux之find命令
- Linux find命令详解
- Linux命令-Find
- Linux命令之find
- linux find 命令实例
- linux find命令
- linux find 命令实例
- Linux find命令详解
- Linux find命令详解
- Linux find命令详解
- Linux find命令详解
- 斐波那契数列-矩阵乘法
- UIImageView userInteractionEnabled
- Android的px、dp和sp
- 【诚邀各位开发者参加】2014-10-25 深圳OGEngine手游开发者交流会议
- 命令行执行java程序
- find命令【linux】
- [Leetcode] Remove Duplicates from Sorted Array II
- 程序员需要人脉
- 为何需要静音检测
- php关于引用的解释
- Qt QDialog窗体显示到屏幕中央
- 反弹端口 HTTP代理 HTTP隧道技术
- HDU 4085 Peach Blossom Spring 斯坦纳树 状态压缩DP+SPFA
- UITextField计算中英文混合的字符长度,中文2字节,英文1字节