linux - 查找其他人没有读取权限的文件

标签 linux bash shell unix find

我想获取其他人没有读取权限的所有文件。 我试过 find 。 -type f -perm -o-rfind 。 -type f -perm -o 但他们返回所有文件。看来我做错了什么。

谢谢。

最佳答案

只需搜索任何其他人没有读取权限的内容:

find -not -perm -o=r

关于linux - 查找其他人没有读取权限的文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25180896/

相关文章:

linux - 如何根据 cygwin 中的开始和结束行号裁剪(剪切)文本文件?

arrays - 如何使用包含带空格的字符串的数组执行命令 linux

linux - 使用 BASH 脚本组合两行

linux - 如何获取我的 .profile 文件并使其更改当前 shell

php - 如何将参数从 bash 传递到 php 脚本?

php - 如何正确访问de BIND DNS写入一些文件?

c - 使用 fork 和 execvp 启动/停止/etc/init.d/中的服务不起作用

python - 使用 python 脚本创建一个 unix 别名

bash - 使用shell修改文件夹及其所有子文件夹中的文件

linux - 在gedit中打开当前目录所有子目录下名为generator.yml的所有文件