linux

Interesting uses of Linux “find” command

Find all files for given user and change ownership sudo find . -user OLDUSER -exec chown NEWUSER:NEWGROUP “{}” \; Find all files with given permissions find -perm mode