Unix Tutorial Digest – February 2nd, 2020
Unix Tutorial Digest – January 2020 For those staying up late to watch Super Bowl LIV and those just looking for a few interesting links, here's the monthly summary of Unix/Linux news and Unix...
View Articleshutdown vs halt
shutdown vs halt Getting the difference between shutting a Unix system down versus halting it is kind of important. Graceful shutdown It's important that your Unix/Linux system completes startup or...
View ArticleFailed Attempts for root User
Failed login attempts Wow, things are much worse than I expected! I'm reinstalling one of the dedicated hosts for Tech Stack. Kicked off the reinstall with CentOS 8 and came back a few hours later, to...
View ArticleSecure Keyboard Input in bash Scripts
Secure keyboard input in bash I needed to create a very simple bash script that required a password to be provided using keyboard and then used further in the script. Turns out, there's just a way to...
View ArticleRun Ansible Tasks for Specific OS Release Version
Red Hat Ansible I already know and have explained how easy it is to make an Ansible task run only on a specific Linux distro family (Debian/Ubuntu or RedHat/Centos), but recently needed to go even...
View ArticleResume Downloads with curl
Resuming downloads with curl If you're on an unstable WiFi hotspot or simply forgot about a curl download and shut down your laptop, there's a really cool thing to try: resume download from where you...
View ArticleHost Key Verification Failed
Host key verification failed When reinstalling servers with new versions of operating system or simply reprovisioning VMs under the same hostname, you eventually get this Host Key Verification Failed...
View ArticleProject: Password Protect a Website with nginx
nginx logo I needed to keep a few older websites online for a short little while, but didn't want to leave them wide open in case older CMS systems were vulnerable – so I decided to protect them with...
View ArticleSystemd Startup Times with systemd-analyze
systemd-analyze Systemd had the goal of optimising startup times from the very beginning. It is therefore no particular wonder that it has a tool for precise startup timing and analysis:...
View ArticleDebian 10.3 Released
Debian Linux Pretty cool! I almost missed that Debian 10.3 got released last week. This is a corrective release, meaning it's about improving stability and security rather than about introducing major...
View ArticleBasic Kubernetes Cluster with 2 VMs
I'm researching for my next Unix Tutorial Project, so today I'm spinning up two new Ubuntu 19.10 VMs and configuring them as Kubernetes Master and Kubernetes Node, accessible from my macOS desktop....
View ArticleSSH Reference Mindmap
I haven't shared this on Unix Tutorial before, but I'm a huge fan of mindmaps. I create and use them all the time for any process or knowledge that I am working with. It seems to me that all the Unix...
View ArticleUse visudo to Check SUDO Config Syntax
syntax check with visudo -c I'm working on a longer post about editing sudoers with visudo or editing /etc/sudoers directly (you should avoid this if possible), but for now here's just a quick note on...
View ArticleTower 4.0 for Mac
Tower 4.0 is out! Great news! Tower (I still keep calling it Git Tower) released version 4.0 recently, with a number of bug fixes and a great new feature. I'm not a software developer, but find myself...
View ArticleSystemd Unit Types
systemd I'm catching up on my systemd knowledge, this is almost a note to myself – a summary of the systemd unit types (yes, it's a lot more than just startup scripts!). How To Tell a systemd Unit...
View ArticleAnsible: Could Not Match Supplied Host Pattern
Red Hat Ansible I've come across this Ansible error recently. It made no sense because I had a fully populated hosts file with multiple hosts and groups. Specifically, I was running an existing...
View ArticleList Available Repositories in Red Hat
Listing repositories with subscription-manager I have finally gotten around to launching a new RHEL 8.1 virtual machine on my macOS desktop, this time I installed it from RHEL 8.1 ISO image. Although...
View ArticleHow To: check and change filesystem label with e2label
e2label command for checking ext2/ext3/ext4 filesystem label Some Linux distros (especially older ones) have preference for using filesystem labels instead of unique identifiers (UUIDs) or device...
View ArticleHow To: Use Filesystem Labels in /etc/fstab
Filesystem label in /etc/fstab Yesterday I have shown how to manage ext2/ext3/ext4 filesystem labels using e2label command. Continuing this topic, let's update /etc/fstab file on my Ubuntu VM....
View ArticleSublime Text 3
Are you guys using Sublime Text 3? Have heard and possibly even tried it before, wasn't impressed. But this time I'm doing Ansible playbooks and some light Python scripting development – and Sublime...
View Article