Skip to content

Instantly share code, notes, and snippets.

@teledirigido
Last active August 29, 2015 14:21
Show Gist options
  • Save teledirigido/9ca202226c36c266aa0a to your computer and use it in GitHub Desktop.
Save teledirigido/9ca202226c36c266aa0a to your computer and use it in GitHub Desktop.
Useful commands on shell
# Find .htaccess and do chmod
sudo find / -type f -name '.htaccess' -exec chmod 604 {} \;
# Find wp-config.php and do chmod
sudo find / -type f -name 'wp-config.php' -exec chmod 644 {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment