Skip to Content
Abhilash Mhaisne

Abhilash Mhaisne

61 posts

Posts by Abhilash Mhaisne

How to Change the URL of a Git Remote

How to Change the URL of a Git Remote

Git is one of the most widely used version control systems today. All kinds of software development, from tiny projects to production level enterprise products, everything uses Git today. Although Git is used as a decentralized version control system, i.e., each user can have his/her own version of

How to Check if a File or Directory Exists in a Bash Shell Script

How to Check if a File or Directory Exists in a Bash Shell Script

Bash is used for automating regularly executed commands in Linux. Commands which are meant for operations on files/directories are quite frequently used, and usually, before we execute such a command, we need to check whether the particular file or directory exists. Let us see how to perform this check.

How to Extract tar.gz File in Linux

How to Extract tar.gz File in Linux

Most of the software, documents, files, etc. in Linux are archived in the tar.gz format instead of the zip or rar formats usually used in Windows, though Linux utilities support these formats. tar.gz format is popularly used by software available for Linux both in official repositories as well

Bash 'if else' Statement: Tutorial and Examples

Bash (Bourne Again Shell) is a shell command prompt and scripting language in GNU/Linux operating systems. It is the default shell for most Linux distributions. Conditional statements are vital in any programming language, compiled as well as scripted. They let the user execute a piece of code based on

How to Update NodeJS to Latest Version in Ubuntu

How to Update NodeJS to Latest Version in Ubuntu

NodeJS is one of the most popular Javascript frameworks nowadays. It has been widely accepted in the world of web development and is commonly used for developing lightweight backend servers, REST APIs, etc. Its package manager, npm is one of the biggest repositories for Javascript libraries. In this tutorial, we

How to Clear Terminal in Ubuntu and Other Linux Distros

How to Clear Terminal in Ubuntu and Other Linux Distros

Many a times it happens that the terminal in Linux gets filled with outputs from previous commands. It makes the terminal display chaotic and unorganised, especially when the previous output is no longer required by the user. Hence, it is a good practice to clear the terminal screen after it