How to create an SSH shortcut

In this post, I would like to show you a quick way to SSH into VMs. Using this approach you don’t have to type  ssh -i ..etc every time.  Let’s open your ~/.ssh file and create a file called config and […]

How to send emails from shell script using sendgrid

In my recent project, we have developed a small process monitoring system to check the health of the process and it should send emails if the process goes down. For sending emails we have used SendGrid and below is the […]

How to disable IPv6 on Ubuntu

In this post, I will show you disabling IPv6 on your Ubuntu machine. Before going further, let’s check the current status of the IPv6 on your machine. To check the status, open up the terminal and enter the following […]

How to delete files older than X days in Linux

In this post, I am gonna show you how to write a simple shell script to delete files from a directory if the files are older then X days. We gonna use find utility function to search and find the files from the given specific […]

How to install the management plugin, RabbitMQ

By default, RabbitMQ does not embed a web-based management console but offers it as an optional plugin. This management console makes it very easy to peek into a running RabbitMQ instance, so we definitely want to have […]

How to install and setup RabbitMQ on Ubuntu 16.04

In this post, I will show you how to install RabbitMQ on Ubuntu 16.04. We can install RabbitMQ easily using Ubuntu’s package manager, apt. The apt is package manager allows us to install most software pain-free from […]

.dockerignore

In this post will show you how to use the .dockerignore. It will help reducing Docker image size, speedup docker build and avoid unintended secret exposure. .dockerignore behaviors same as .gitignore, it removes the extra […]

How to determine the version of bash

In this post, I would like to show you a very trivial example, which will help you to find the version of the bash that you are running. The easiest way to determine the version of bash that you are using is to print the […]

Zip and Unzip Linux Commands

In this post, you will find practical examples showing how to install and use the zip command to compact and organize files within your file system. Zip is a compress tool which is available in most of the operating systems […]

How to delete files and directories in Unix/Linux

In order to remove, delete or unlink files in Unix/Linux operating system we need to use the rm command. Syntax : To delete file we simple write command like this : or if you want to see a warning message before deleting […]

DMCA.com Protection Status