Categories
Linux

How to Update NodeJS to Latest Version in Ubuntu

Updating NodeJS using APT and NVM.

Categories
Linux

How to Clear Terminal in Ubuntu and Other Linux Distros

Clear that mess and start fresh in Terminal!

Categories
Linux

How to Create and Add Cron Jobs in Linux

Scheduling periodic tasks using Cron in Linux

Categories
Linux

Bash ‘While’ Loop: Tutorial and Examples

Using ‘while’ loop in Bash scripting to iterate over command(s).

Categories
Linux

How to Save a File in Vim or Vi and Quit the Editor on Linux

You need to enter the command mode in vim / vi to save and exit a file.

Categories
Linux

Bash ‘Until’ Loop: Tutorial and Examples

Using ‘until’ loop in a Bash script to loop over command(s).

Categories
Linux

Bash ‘For’ Loop: 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. Like most scripting languages, Bash provides loop syntaxes to repeat similar tasks multiple times. In this article, we will learn how to use the for loop in Bash. Introduction A […]

Categories
Linux

How to Find and Replace Text in Vim on Linux

vim is one of the most popular file editors in Linux. Part of the popularity is due to the command line mode of vim, which enables users, especially software developers and advanced users to optimize time for file modification operations. In this article, we will see how to find and replace text in vim command […]

Categories
Linux

How to Delete Files and Folders from Linux Command Line

Linux has many commands for the removal of files and directories. These programs use different kinds of algorithms to delete files from different file systems. In this article, we will see how to delete files and folders from Linux command line using rm and rmdir commands. Delete Files using rm Use rm command to remove […]

Categories
Linux

How to Use SCP Command to Securely Transfer Files in Linux

SCP, i.e., Secure Copy is a remote file transfer program for Linux. It copies files by establishing an SSH connection and hence uses the authentication and security offered by SSH. In this article, we’ll show you how to copy files remotely using SCP. Note that, the user needs to know the password of the user […]