sss_cache sysdb_domain_cache_connect: DB version too old

I got this error sss_cache when trying to add a new user to one of my clients Linux (RedHat 8.10) box. I have never encounter this issue before at any Linux distro I have touched. After brewing a good cup of Caturra coffee variety from my friend’s coffee farm in Chiriqui, Panama I found the …

What Are The CTRL Commands In Linux

I recently discover more about the CTRL commands options in Linux. I have to admit, this is something I should have learnt many years ago. I have been using some of these CTRL commands for a while without noticing what they really meant. So, I decided to create this short Linux terminal tutorial for future …

Edit DNS Settings Using macOS Terminal

I was surprised how easy is to edit DNS Settings using the macOS Terminal. I also noticed using the GUI in the mac sometimes doesn’t ‘keep’ the settings for some reason. After I visited one of my favorite local beer breweries in Brooklyn one of my clients contacted me. The issue was setting up a …

sed command regex s/ option

The sed command is one of those commands I have never put enough attention in Linux. A mistake! The sed command (Stream Editor) is a very powerful one to know. It is used to find and replace text patterns. Sed command standard sysntax To replace all instances of Paco with Timo in a file.txt: s/ …

How to Logout a User Using macOS Terminal

The other day after I just brewed a fantastic single origin specialty coffee from Peru I got a message from one of my clients. They wanted to find out how to logout a user Using macOS Terminal. They needed to do this in order to install new printers and the user’s screen was locked. All …

How to restart sound in macOS using the Terminal

How to restart sound in macOS using the Terminal was one of those things I have been curious for a while. Yesterday one of my clients called me regarding their sound in one of their macs. They could not reboot at the moment. So, after brewing a nice cup of Catimor coffee variety at home …

Managing Users in macOS via Terminal

macOS is UNIX-based, so you can use standard BSD commands like dscl (Directory Service Command Line) for managing users in macos and groups as well. The reason I found this useful is that you can remote using SSH to any mac and make this changes. You don’t need to rely on the GUI. Especially if …

10 practical Linux Text-filter examples

Hola! I put together a mini Linux text-filter examples using a data.csv file. I have copy/paste it below for your reference.I’m going to use commands like cut, grep, awk, sort, uniq, head, tail, and wc.I’ll explain each example and you can run them on your Linux command line. But first, I needed to grab a …

Work on the Linux command line fundamentals

The work on the Linux command line topic is fundamental to your day-to-day work as a Linux administrator. Below is a breakdown of each area and command, with simple explanations and practical command-line examples you can try. But, first I need to brew coffee at home – Very important! Use single shell commands and one-line …

Debian Package Management Linux Commands

Jumping between Debian and RedHat based Linux distros can be confusing sometimes for me. This is why I decided to create this short Debian Package Management guide. But, first I need to brew a good cup of Catimor coffee variety at home. Brief terms: dpkg – Low-level tool to manage .deb packages. apt, apt-get, apt-cache …