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 Edit Files In Linux?

How To Edit Files In Linux?

Linux provides different ways and tools in order to edit files. These methods can be called command-line editors and GUI editors. As a text-based operating system and most of the configuration is stored as a text file the configuration changes generally require editing files. Why Edit Files In Linux? As stated Linux is a command … 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

Vim/Vi Copy Line

Vim/Vi Copy Line

Vim or Vi provides different keys and commands in order to copy the line. In this tutorial, we will learn how to copy lines in different ways. Copy Current Line The yy keys are used to copy the current line. The current line means where the cursor is located currently. Follow these steps to copy … Read more

Move End Of Line In Vim/Vi

Jump End Of Line In Vim/Vi

Vim or Vi is a command-line text editor which is very different from most of the popular text editors which are GUI based. For GUI based text editors generally, a mouse pointer is used for navigation over file like jumping end of the file. Vim or Vi uses different commands and keys for navigation. End … Read more