如何获取属于用户的所有目录/文件的列表 [英] How to get list of all dir/files belong to a user
本文介绍了如何获取属于用户的所有目录/文件的列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
1 - 如何获取属于特定用户的具有权限详细信息的所有文件和目录的列表.
1 - How can I get list of all files and directories with permission details, which belong to a particlular user.
2- 如何获取文件或目录的所有详细信息,例如所有者、组、权限等.
2- How can I get all details of a file or directory like it's owner, group, permissions etc.
推荐答案
使用 find -ls
:
find /some/path -user username -ls
这篇关于如何获取属于用户的所有目录/文件的列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文