Helpful Linux Commands

This is mostly for me, but you can use it for you. Fix Permissions, common for WEB find . -type d -exec chmod 755 {} \; find . -type f -exec chmod 644 {} \; Additionally for WordPress. chmod 444 wp-config.php .htaccess Compress folders into tar-gz tar -pczf archive.tgz /folder Change the Hostname properly in centos hostnamectl set-hostname server.example.com Tmux Continue reading Helpful Linux Commands

Using Git on Windows

As of this week I’m officially working as a Sr. Systems Engineer in DevOps! What a blast, I get to work with some of the most intelligent people with a vast range of experience and knowledge. I’ve spent a ton of time already using Git to actually commit and push changes (how they do configuration management) which I find ingenious Continue reading Using Git on Windows