Updating NodeJS using APT and NVM.
Clear that mess and start fresh in Terminal!
Scheduling periodic tasks using Cron in Linux
Using ‘while’ loop in Bash scripting to iterate over command(s).
You need to enter the command mode in vim / vi to save and exit a file.
Using ‘until’ loop in a Bash script to loop over command(s).
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 […]
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 […]
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 […]
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 […]