All Stories

Count files within directory in Linux

Sometimes, for some reason we need to pull up the number of files in a certain directory. As always, this could be done in a couple of ways. Let’s go through each of them.

In Linux, Sep 28, 2021

How to install Ruby on Debian 11

Ruby as a programming language belongs to the group with a high demand along with the other popular programming languages. Nowadays, his framework Ruby on Rails is highly used by deve...

In Ruby, Debian, Sep 27, 2021

Run Linux Bash commands in background

If one thing can be annoying while working on remote Terminals on daily basis, that would be waiting for a command to finish. Wasting time on waiting commands to finish is resolvable ...

In Linux, Sep 26, 2021

How to setup Envoy proxy

Envoy is a minimalistic L7 proxy designed to be used along with the cloud native microservice applications. It’s an open-source container based project which can run on a minimum syst...

In Proxy, Sep 25, 2021

Remove last N characters of a string in Bash

As with most things in IT, there is always more than one way to skin a cat. In today’s blog post, we are going to test out few ways on how we could remove last n characters of a strin...

In Linux, Sep 24, 2021

How to create Apache reverse proxy for your application

Creating Apache reverse proxy follows a similar procedure as Nginx. In some of the previous posts, we saw How to set up Nginx reverse proxy, so today I’m going to show you exactly the...

In Apache, Sep 23, 2021

Protect files from being deleted in Linux

I’m going to start by saying we have all heard of these sudo rm -rf / horror stories on the Internet. There are a bunch of ways we could protect our servers from such accidents, which...

In Linux, Sep 22, 2021

How to dump Elasticsearch index to S3 with Docker

Previously I’ve covered the topic around export and import the Elasticsearch index from one ES cluster to another. So now if you want to back up a particular index, instead of storing...

In Elasticsearch, Docker, AWS, Sep 21, 2021

How to make local archive_file to be available when deploying Terraform aws_lambda_function

In today’s blog post, I really need to share with you all a quick tip regarding Terraform’s aws_lambda_function resource and how to make the latest local data archive_file to be prese...

In Terraform, AWS, Sep 20, 2021

How to search for a string in multiple files on Linux

These days there are a lot of code editors which can ease your life in terms of finding some particular string in multiple files or repo. The life will get complicated if you need to ...

In Linux, Sep 19, 2021