Here’s a few commands that I either use, or have found around the web. Remember to test these out before you use them live. I have for my environment, but your environment might be totally different. Sorry to state the obvious! If you have more send them on!
Recursively change file permissions without affecting directory permissions
$find ./ -type f -exec chmod 633 {} ;
Find more than one file type in the current directory
$find . -maxdepth 1 -type f -name '*.sh' -o -name '*.txt'
Find all specific file types in a directory structure. This command is looking for music files.
$find -type f -printf '%P 00' | egrep -iz '.(wav|mp3|aif|aac|aiff)$' | sort -z | xargs -0 ls -1
List all files opened by a command
$ lsof -c dhcp
List all files opened by a PID
$ lsof -c 15253



