For those of you who read my site much, you would have noticed that I recently added/created a couple of logging scripts; they do their thing, and most specifically, log the results and info to a log file. Fortunately, they are only text-based logs, so should not get very large very fast. But after a week or two, or even a month or two, those files will quite large. And worse yet, they will be very difficult to manually go through, since they will just be so big. So we need to rotate the log files every so often to keep things a little bit manageable. Sure, I could go ahead and add some kind of rotation to the scripts, but why go through all that hassle when there's a utility to do this for us: logrotate !

I have been having connectivity issues of a strange variety at home. I have called the ISP and had many discussions, and frankly, some argumants on my connectivity to the internet. The ISP, like all others, claims that it isn't their fault, and must be something with my wireless router, or other problem with my network and my setup. Myself, knowing exactly how this is all setup, I know this to be not the case. Or at least I am very reasonably sure...

Arguably, one of the more important things you need to do with your server is back it up; if you have a recent backup, you can rebuild your server, no problem. But if you do NOT have any backups (which is surprisingly common), you're screwed... The rebuild will HAVE to be from scratch, and if you had any custom scripts or configurations there, here's to hoping you remember what they were. Most of the time, this is next to impossible to accomplish without extensive documentation on the rebuild process. While there are all kinds of products and applications that can accomplish this, there are some built-in Linux tools that can accomplish a backup quite easily. Here, we'll go over the general process of backing up a Linux system.

While this is far from the first Linux script I ever write, it is the first I am putting up here on my site for analysis and downloads. It's a quick connectivity check script that logs the details toa CSV log file for easy opening in spreadsheet apps like LibreOffice Calc.

I have recently had an opportunity to work on a very strang issue... My customer was able to transfer small files through a VPN connection, but not large ones. One of the challenges we faced in this was how to get files of a specific file size, to test the limits of that connection. In the end, while a simple command, it took me a little while to figure it out, but I eventually settled on a few variations of a command to get my file sizes.