Merry Christmas!
Merry Christmas! Greetings from Germany! We're spending Christmas break away from Ireland this year, so most of the week has been pre-scheduled posts as I'm offline until we come back. Want to take a...
View ArticleCheck Python Version
Check Python Version As you improve your basic Python skills, you're going to find out (usually the hard way) that Python 2.x and Python 3.x are not as compatible as you expected. That's why it's...
View ArticleWelcome to 2020!
Unix Tutorial Hey everyone, just wanted to wish you all a Happy New Year and to welcome you into 2020! Unix Tutorial: 2019 in Numbers 2019 has been the greatest year in all of the UnixTutorial.org...
View ArticleUpgrading tmux in macOS
Upgrading to tmux 3.0a I have completely missed the tmux 3.0 release, so it's long overdue that I'm taking time now to upgrade tmux to version 3.0a on my macOS systems. Upgrading tmux with brew All it...
View ArticleUnix Tutorial Digest – January 4th, 2020
Unix Tutorial Digest: monthly digest of Unix/Linux topics It's time for another Unix Tutorial digest – this issue covers notable events and releases in December 2019. I also plan to start annual...
View ArticleConfirm Actively Listening TCP Ports with lsof
Listening TCP ports in macOS I was researching SSH daemon configuration on my macOS Catalina system and realised that lsof is still the best tool for meaningfully confirming network ports that are...
View ArticleHow To: Use fail2ban to Protect SSH
fail2ban software I have a number of servers, including a few on the home office network, that accept SSH connections. Even though they are serving on different (non-standard) SSH ports, there are...
View ArticleUnix Tutorial – Annual Digest – 2019
As promised, this is my very first annual summary of interesting things in my industry (Unix/Linux administration) and on my Unix Tutorial blog. Please get in touch to arrange a technical consultation...
View ArticleUse Backups When Deploying with Ansible
Backup flag in the template module I'm back on the task of completely converting my home office and online servers to full Ansible coverage – creating server groups, developing roles and translating...
View Articlesystemd services Status
Example of systemctl status I've just learned by accident that it's possible to run systemctl status without specifying a name of systemd service – this way you get the listing and status of all the...
View ArticleAdvanced USB discovery with usb-devices
usb-devices example If you're working with USB devices a lot, Linux platform offers a great way to learn more about what you have connected to your system: usb-devices command. Using usb-devices...
View ArticleDEBUG: cron keeps piling up in macOS
cron processes piling up in macOS Catalina So, long story… After upgrading to macOS Catalina my years-old automount.sh script running via cron stopped working. It's been a long enough journey of...
View ArticleUnix Input/Output Redirection
Error Output STDERR Redirection Input/output redirection is a fundamental functionality in Unix and Linux. It's a great way of manipulating data exchange between commands that you run. There's lots of...
View ArticleNon-standard Ansible Port
Red Hat Ansible If you plan on starting with Ansible any time soon, one thing you can really appreciate is that prior to having a smooth post-configuration process you're going to configure a number...
View ArticleHow To Ignore SSL Warnings in curl
Making curl ignore SSL warnings Sometimes your testing scenario or cycle is so far ahead of your infrastructure that you don't even have time or opportunity to procure proper SSL certificates for you...
View ArticleLinux Kernel 5.5
Linux Kernel 5.5 Yesterday Linux Kernel 5.5 was released, almost exactly 2 months since the Linux Kernel 5.4. Here's what I find interesting in this release: improved Raspberry Pi 4 support – that's...
View ArticleUninstalling minikube
Deleting minikube Don't remember how, but I ended up with two Kubernetes installs on my mcfly desktop with macOS: the one that came with Docker Desktop for macOS and the minikube variety that I must...
View ArticleKali Linux 2020.1
Kali Linux 2020.1 This time I'm definitely installing it on my Raspberry Pi 4! Kali Linux just released the very first release of the year 2020 with the following much welcome improvements: Single...
View ArticleHow To Extract XZ Files
XZ archives can be unpacked using XZ utils I've come across XZ files more than once, most recently when downloading Kali Linux. It should be a fairly common knowledge now, but some operating systems...
View ArticleShow Files Installed by a Debian/Ubuntu Package
List files in a Debian/Ubuntu package with dpkg-query Sometimes it's not enough to know that a certain package is installed on your Linux system. You want to know the full list of files installed by...
View Article