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 and Paste 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. the yank or copy command can be used to copy the current line, multiple lines, some part of the line to the begging or end of the line. … 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 files like the jumping end of the file. Vim or Vi uses different commands and keys for navigation. In this … Read more

Quit Without Saving In Vim/Vi

Quit Without Saving In Vim/Vi

Vim or Vi is a command-line text editor which is mainly managed with the commands and key shortcuts. After making changes in a file you may want to quit or exit from Vim. In this tutorial, we will learn how to quit Vim or Vi without saving changes. Open and Make Changes In Vim First, … Read more