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
Dumping a man page is easy, just redirect the output to standard outvia a bash as below.
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
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
Back to basics with this one, the linux wc command (word count) can be used to count lines, words and bytes in a file and
Linux directory listing command ls is another must. This command lists files oldest to newest piped to grep which excludes directories piped to awk which
Grep is often most powerful when examining the output of other shell commands. This example searches the Linux processes from the ps command for apache.