Useful SSH CHMOD Command

My new web hosting provider, MediaTemple (affiliate link) DigitalOcean (still affiliate link), allows user to access their hosting using SSH. Bit by  bit, I’m learning new #SSH commands. Here’s a  command to change CHMOD/permission.

For Directories:

find /path/to/your/wordpress/install/ -type d -exec chmod 755 {} ;

For Files:

find /path/to/your/wordpress/install/ -type f -exec chmod 644 {} ;