This blog is a place for me to write about things that require that little bit extra to solve. We all have gaps in our knowledge and every now and then I need to reach out on search engines or blogs to find an answer. Often, these answers come from multiple sources. This blog serves as a personal resource, but if it's helpful for me I'm sure it'll help others too!
This is one command that comes up every now and then and I always forget it! So to save some time Googling the answer I thought I’d post it here as a quick reminder. The command will move all files in the current directory – including hidden files – up one directory. Here’s what’s going […]
Today I came across an issue with MySql not restarting correctly. In addition, when rebooting the server, MySql would run for a few seconds and then crash, and would not restart after doing so. It seemed to be down to a rogue MySql process running which was stopping it from starting up again: Running this […]
When moving a website to a new server, this script comes in handy allowing you to transfer the files directly from one server to the other. This means you don’t have to download to your desktop or re-upload etc. Additionally, the data centres you host with will most likely have a better internet connection than […]
Create an archive of a directory The above command will create an archive of a directory and save it in the location specified. The commands are: c – Creates a new .tar archive file. v – Verbosely show the .tar file progress. f – File name type of the archive file. z – Compress the […]