📅 September 7, 2019
If you are running an Ubuntu-derived distribution, you can always download the latest mainline kernel from kernel.ubuntu.com/~kernel-ppa to see what is available and try it out. However, this requires a manual visit to the page.
Wouldn’t it be easier to have a program check on your behalf and notify you if a new kernel release is available? If you choose to upgrade the kernel, how about a friendly GUI to guide you through the process?
That is exactly what Ukuu does, and it can make kernel updates easier than before.
📅 August 2, 2019
Uh, oh! A hard drive is displaying boot errors and needs attention! Which motherboard port is it connected to?
If you have a Linux system with many hard drives installed, such as a data server or RAID array, you will need to know which physical SATA port a problematic hard drive is connected to in order to repair or replace it.
For example, if hard drive /dev/sdg in a RAID array has failed, how can we find out which SATA port it is connected to on the motherboard if many other drives exist? This article shows a few ways to achieve this from the command line.
📅 August 1, 2019
Do you have a large set of video files and wish to get a random screenshot from each?
Here is a small Bash script that will grab a single screenshot at a random time point from each video file and store the screenshot as an individual JPEG image.
📅 July 26, 2019
“What? My RAID array device is named /dev/md127? How do I change it to /dev/md2?”
If you have used software RAID on Linux with mdadm, then you will have probably have noticed that a second RAID array created will often receive the device name /dev/md127 instead of something more logical like /dev/md1 or /dev/md2 for consistency.
This article shows how to change the default /dev/md127 into /dev/md2 (or whatever you prefer) for a name that makes better sense.
📅 July 24, 2019
“Oops! My motherboard ran out of SATA ports. How can I add more?”
This was indeed my predicament after all eight SATA-III ports on my motherboard were used by hard drives, and I needed to connect more hard drives to the same system. (RAID in Linux is super cool!)
Is there a way to increase the SATA port count beyond the motherboard limitations?
Yes, and it involved using an inexpensive SATA controller card. I bought one for myself, and it has been working brilliantly in Linux. Here are my thoughts.
(As always, nobody sponsors this. I needed a card, and here are my opinions to help other Linux users who might face a similar situation. )
📅 July 8, 2019
In the previous lesson, we explored regular expressions to create a Bash one-liner to extract words from Thunderbird email subject lines.
While it worked well for a simple task, residue was not filtered, and this required manual editing.
Can we improve it further to handle inconsistencies and reduce the manual edits? Yes! This article demonstrates using sed and regular expressions to eliminate any manual editing.
📅 July 3, 2019
Do you use the Thunderbird email client for your emails? Do you want to grab words from a large list of subject lines?
There are times when we might want to get a single word from each subject line in a collection of emails. Sure, we could look and type by hand into a text file, but that is too tedious. Let’s use a computer to perform the task using Bash!
This article describes how to create a Bash one-liner that will grab a word from each subject line of each Thunderbird email and store the sorted result into a text file.