Sed Command Examples In Linux

Sed Command Examples In Linux

The sed command is a stream editor used in Linux and Unix operating systems popularly. The sed command is used to search, replace, edit, insert, delete, and similar text operations for single or multiple files via command-line interface in a programmatic way. sed Command Syntax The sed command syntax is like below where OPTIONS, SCRIPT, … Read more

How To Create File In Linux?

How To Create File In Linux?

Files are used for different purposes in Linux. The purpose can be storing data or setting some configuration or creating code or script for execution. There are different ways to create a file in Linux. In this tutorial, we will learn different ways to create files via command line or GUI for Linux distributions. List … Read more

How To Comment In vimrc (Vim Configuration) File?

How To Comment In vimrc (Vim Configuration) File?

As an advanced text editor, Vim has a lot of configuration options. These configuration options can be applied in different ways as temporary or permanent. The vimrc configuration file is used for permanent Vim configuration. While putting configurations inside the vimrc file we may need to write some comments in order to explain the given … Read more

Where Are .vimrc and vimrc Files?

Where Are .vimrc and vimrc Files?

Vim is a popular command-line text editor that provides a lot of advanced features. These features can be configured in different ways from the Vim interface or command line or configuration files named .vimrc and vimrc . Vim Configuration Files Vim basically provides 2 configuration files. The first configuration file is named .vimrc and used … Read more

Linux less Command Tutorial

Linux less Command Tutorial

The less command is one of the commands which is used to display and read file contents into the terminal in Linux and Unix systems. less command makes it very easy to navigate, search in a file with a keyboard shortcut. less command first created for Unix systems where there is no GUI and every … Read more

Print Line Number For Grep Command

Print Line Number For Grep Command

grep is a popular tool in order to search and find a given term in files. grep can search multiple files at the same time and match using regular expressions etc. While searching files the matched lines can be printed to the screen with the grep command. In this tutorial, we will examine different ways … Read more

How To Install Notepad++ In Linux?

How To Install Notepad++ In Linux?

Notepad++ is a very popular text editor that is created for Windows operating systems. Notepad is a native and simple Windows application that is provided by Microsoft. Notepad++ is a lot more advanced text editor which is an alternative to the Notepad. But Notepad++ natively does not supports Linux distributions like Ubuntu, Debian, Mint, Kali, … Read more

Move or Jump End Of File in Vi/Vim

Move or Jump End Of File in Vi/Vim

Vim/Vi are popular command-line text or code editors. As a command-line text editor, the vi/vim should be used with commands. While using a GUI-based text editor going end of the files is easy by scrolling down with a mouse but it is different in vi/vim editor as there is no scroller. Vi/vim provides some shortcuts … Read more