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 regular attempts made to break it via brute-force - I can see how some … [Continue reading] about How To: Use fail2ban to Protect SSH
Confirm Actively Listening TCP Ports with lsof
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 LISTENed to. What does it mean for port to LISTEN? All the network services … [Continue reading] about Confirm Actively Listening TCP Ports with lsof
Unix Tutorial Digest – January 4th, 2020
It's time for another Unix Tutorial digest - this issue covers notable events and releases in December 2019. I also plan to start annual digests, will try and publish the Unix Tutorial Annual Digest 2019 tomorrow. Please get in touch to arrange … [Continue reading] about Unix Tutorial Digest – January 4th, 2020
Welcome to 2020!
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 history: 970K views - that's just one typical week shy of a … [Continue reading] about Welcome to 2020!
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 moment and wish you a very happy Christmas! Great time to … [Continue reading] about Merry Christmas!
Show Next Few Lines with grep
Now and then I have to find some information in text files - logs, config files, etc. with a unique enough approach: I have a hostname or parameter name to search by, but the actual information I'm interested in is not found in the same line. Simple … [Continue reading] about Show Next Few Lines with grep
Install Jekyll 4 in macOS
This is a fairly straightforward procedure, I just want to capture it here for my own future use. Install Ruby Version 2.4.0 or Better Your macOS comes with Ruby pre-installed, but unfortunately it's not recent enough to support Jekyll 4. In … [Continue reading] about Install Jekyll 4 in macOS
How To Change Mac Hostname with scutil
Standard command like hostname will still work in macOS, but perhaps it's best to use the native way of updating system information on your Mac? scutil command is here to help. Change Hostname with scutil Simply run this command in your … [Continue reading] about How To Change Mac Hostname with scutil
Protecting Directories with Sticky Bit
One of the least used and usually forgotten features in Linux/Unix filesystems, sticky bit is a great way to manage regular user access to a shared directory. … [Continue reading] about Protecting Directories with Sticky Bit
neofetch in Debian Linux
When it comes to reporting basic OS information in one terminal screen for easy screenshot, I've been using screenFetch most of the time. Turns out, it's not the only software of this kind - and neofetch is a great alternative. neofetch or … [Continue reading] about neofetch in Debian Linux