All Stories

Certbot: The requested nginx plugin does not appear to be installed

It’s been a while since I needed to manually generate a Let’s Encrypt certificate. And God bless Certbot. However, it took no time to stumble upon a problem. So, today’s week issue is...

In Certbot, Nginx, Jan 19, 2023

How to fix Jenkins: 'dial unix /var/run/docker.sock: connect: permission denied'

Due to high Memory and CPU, I needed to spin up a new ec2 instance. After a while, tried to kick off my Jenkins CI/CD pipeline and got the following error: dial unix /var/run/docker.s...

In Jenkins, Jan 18, 2023

nginx: [emerg] "if" directive is not allowed here

While I was trying to introduce some Nginx conditional for an “obscure” reason, I attempt reloading the config, so the changes could apply, I’ve received the following error in the CL...

In Nginx, Jan 17, 2023

Install shasum on Amazon Linux 2

Shasum can be easily installed through perl-Digest-SHA packages on Amazon Linux 2. Let’s jump on the installation part.

In AWS, Amazon Linux 2, Jan 16, 2023

Find and list modified files of the last N days in Bash and PowerShell

Recently, as I was troubleshooting some static files sync, I wanted to know which files were changed, updated in the last 2 weeks. As with most things, if you are not doing them routi...

In Linux, macOS, Windows, Jan 15, 2023

Install shasum on Alpine Linux

One thing that needs to be considered while installing shasum on Alpine Linux is that the package is not available under apk. There is a way to install shasum on Alpine Linux through ...

In Alpine Linux, Jan 14, 2023

Creating multiple directories at once

“A good engineer is a lazy engineer” is a popular saying, meaning achieving a maximum output with minimum input. One of key things is automation of course. For those lazy engineers ou...

In Linux, macOS, Windows, Jan 13, 2023

Install sshpass on Alpine Linux

Since the sshpass is a part of the apk default packages you don’t have to install OpenSSH to get sshpass. Let’s keep it to the simple things and see the best way to install sshpass on...

In SSH, Alpine Linux, Jan 12, 2023

Get, monitor and remove the last N lines of a file in Linux

Listing and monitoring the last N lines of a log file is a common and familiar operational practice mostly to System Administrators and SRE engineers. Surely, there are better ways to...

In Linux, Parsing, Jan 11, 2023

How to install sshpass on macOS

Trying to install sshpass on macOS by executing brew install sshpass I get stuck with the following message:Warning: No available formula with the name "sshpass". Did you mean sshs?We...

In macOS, Jan 10, 2023