|
所有者改变过 a访问 m修改 指文件内容修改过 参数: + 超过多长时间 - 多少时间之内 什么都不写 刚好 例如:find /t3 -mmin -120 6.根据文件类型找 查找方式:-type 例如:find /t3 -type d 7.根据i节点查找 查找方式:-inum 例如:find /t3 -inum 14 8.多重条件 -a 逻辑与 -o 逻辑或 例如:find -size +80 -a -size -100 4.查找后操作 固定格式:find xxx -exec 命令 { } \; 例如:find /t3 -mmin -120 -exec ls -l { } \; 查找两小时内被修改过的统中文件并列出详细信息 locate updatedb grep 例子:grep ftp 文件名a 输出a文件中包含ftp的行 关键词:Linux 阅读本文后您有什么感想?命令 已有 人给出评价!
|
https://telegramzx.com/?p=1659https://telegramzx.com/?p=1360https://telegramzx.com/?p=568https://telegramzx.com/?p=1084https://telegramzx.com/?p=2414https://telegramzx.com/?p=2122https://telegramzx.com/?p=459https://telegramzx.com/?p=1842https://telegramzx.com/?p=2676https://telegramzx.com/?p=2438