find inhere -type f -size 1033c -exec file {} \; | grep 'text'
以上命令寻找一个大小为1033字节,且人类可读的文件。
find / -type f -user bandit7 -group bandit6 -size 33c 2>/dev/null
以上命令寻找一个所属用户为bandit7,所属组为bandit6,大小为33字节的文件。2>/dev/null用于忽略错误信息。
find inhere -type f -size 1033c -exec file {} \; | grep 'text'
以上命令寻找一个大小为1033字节,且人类可读的文件。
find / -type f -user bandit7 -group bandit6 -size 33c 2>/dev/null
以上命令寻找一个所属用户为bandit7,所属组为bandit6,大小为33字节的文件。2>/dev/null用于忽略错误信息。