Useful bash commands
From RpWiki
Commands
Change permissions on files and folders with find
find . -type f -exec chmod 664 {} \;
find . -type d -exec chmod 755 {} \;
find . -type f -exec chmod 664 {} \;
find . -type d -exec chmod 755 {} \;