All Stories

How to list unpushed commits with git log

Another cool command by Git and this time we are going to try to list all local (unpushed) commits. As always, there’s more than one way to shine a penny.

In Git, Aug 24, 2022

How to install UFW on CentOS 9 Stream

If you are more familiar with the UFW firewall instead of using firewalld, first you need to stop the firewalld service: sudo systemctl stop firewalld.service and install UFW on CentO...

In Firewalls, CentOS, Aug 23, 2022

How to list all commits in a Git repository

Another potentially neat Git command to share. This time we are going to see how to list commits in a Git repository. This could be useful when writing scripts or from a personal expe...

In Git, Aug 22, 2022

How to Install openfortivpn on Ubuntu 22.04

Installing openfortivpn on Ubuntu 22.04 can be done in a few steps without any complexity. Literally, the installation process is pretty much the same for every Debian based distro, b...

In VPN, Ubuntu, Aug 21, 2022

Commit empty folders in Git with .gitkeep

By default, Git completely ignores directories because it’s an intentional design choice. Since empty dirs don’t include any files or content, therefore they’re ignored. And sometimes...

In Git, Aug 20, 2022

How to Install openfortivpn on CentOS 8

Today’s goal is to install openfortivpn on CentOS 8. It can be achieved using dnf or yum, either way it should work fine. Let’s move on to the installation part.

In VPN, CentOS, Aug 19, 2022

How to solve Redis WARNING overcommit_memory is set to 0!

As I was working on a docker-compose stack I received the following warning message that was coming from the Redis service:WARNING overcommit_memory is set to 0! Background save may f...

In Redis, Aug 18, 2022

How to Add Swap Space on CentOS 9 Stream

If some of your services are struggling and can’t work properly then might your amount of physical memory be full? If that’s the case, adding swap space will solve the throttling issu...

In Linux, CentOS, Aug 17, 2022

The proper way to start and stop Redis server

In this tutorial we are going to see how to start, stop and restart the Redis service properly, which is pretty straightforward and simple to do so.

In Redis, Aug 16, 2022

How to check if command exist in a Bash/Shell script

Creating Bash or Shell script for validating whether some command exists or not, can be necessary in some cases. Here I’m going to give you a quick example of how can you achieve it.

In Linux, Aug 15, 2022