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
Subscribe to:
Post Comments (Atom)
Technical tid-bits and more ! Leave a comment if you found something useful.
2 comments:
This was very useful, thnx.
In some OS's as HP-UX itanium 64, '-not' doesn't work so I use '!' instead.
find . ! -perm -a=r
Great. Just what I needed. Thanks!
Post a Comment