Find all writable files in the current directory

后端 未结 10 449
[愿得一人]
[愿得一人] 2020-12-25 11:47

I want to quickly identify all writable files in the directory. What is the quick way to do it?

10条回答
  •  南方客
    南方客 (楼主)
    2020-12-25 12:32

    I know this a very old thread, however...

    The below command helped me: find . -type f -perm /+w

    You can use -maxdepth based on how many levels below directory you want to search. I am using Linux 2.6.18-371.4.1.el5.

提交回复
热议问题