摘要: find 查找范围 -参数 内容 -name 按文件名查找 -size 按文件大小查找 -uid 按文件uid查找 -gid 按文件gid查找 -user 按文件的拥有者查找 -group 按文件所属组查找 -exec 执行命令 cp -a 保留源文件属性 find /home -user cc - 阅读全文
posted @ 2020-05-09 21:13 eafrh 阅读(146) 评论(0) 推荐(0)
摘要: grep sbin /etc/passwd 抓取passwd下带sbin的 grep -v sbin /etc/passwd 反抓,不带sbin的 grep hello test 抓取test中的hello grep -i hello test 忽略大小写,抓取hello grep ^# test 阅读全文
posted @ 2020-05-09 21:12 eafrh 阅读(119) 评论(0) 推荐(0)