Backing up and restoring a MySQL or MariaDB database is super easy. I’ve listed out a few different ways you can do it. Example MariaDB/MySQL
One of my favorite sub-reddits is /r/coolgithubprojects. I check it out a few times a week looking for interesting open source projects. One interesting project
Netstat is a wonderful Linux command to peak into networking processes on your server. Combined with other commands such as sort netstat can become extremely
Many cloud servers don’t come with a swap partition setup by default, including Amazon EC2 servers. Luckily it’s fairly simple to setup. Below were using
Dumping a man page is easy, just redirect the output to standard outvia a bash as below.
You don’t need to write your own log rotation service in Linux, you can use the built in service called logrotate super easily. Below is
I used to run Linux Ubuntu up until a few years ago as my laptop. But I find the hardware and software on a Mac
Cron is the Linux system for repeated scheduled tasks. Below are a few examples on how to use cron, what the fields mean, and how
Grep is too important not to know for Linux sysadmins. Grep is commonly combined with other commands via pipes to search and filter standard output.
In some of these examples, particularly the remote server I’ve included usernames and passwords, but you might not need it locally, depending on your mysql