Showing posts with label find. Show all posts
Showing posts with label find. Show all posts

Thursday, February 7, 2008

unix find - seach based on permissions

All the files in the current directory that does not have a write permission for user and group

find . -not -perm -ug=w

All files owned by 'ssinghal'

find . -owner ssinghal