How to use terminal-based text editors in Linux machine?

How to use terminal-based text editors in Linux machine?

Vim

Edit: i
Copy: CTRL+SHIFT+C
Paste: CTRL+SHIFT+V
Command: ESC
Exit without saving: ESC - :q! - ENTER
Save and exit: ESC - :wq - ENTER

Nano

Copy: CTRL+SHIFT+C
Paste: CTRL+SHIFT+V
Exit without saving: CTRL+X - SHIFT+N - ENTER
Save and exit: CTRL+X - SHIFT+Y - ENTER

    • Related Articles

    • How to load multiple Git Bash tabs using Windows Terminal app?

      The Windows Terminal application is a modern and versatile command-line interface for Windows operating systems. It supports multiple tabs within a single window, enabling users to work with different command-line sessions simultaneously. Note: The ...
    • How to install VirtualBox on Ubuntu Linux 18.04 desktop machine?

      If you have a host machine that runs Ubuntu Linux operating system, then you need to install VirtualBox to build and run virtual machines. Now, let's see how to do VirtualBox installation on Linux host machine. # Install required system packages. $ ...
    • How to install Ngrok on Ubuntu Linux 18.04 desktop machine?

      Ngrok allows you to expose a HTTP server running on your local machine to the internet. You can signup at https://dashboard.ngrok.com/signup to create your own Ngrok account and get auth token to make an HTTP/TCP tunnels on random URLs and ports. ...
    • How to install Vagrant on Ubuntu Linux 18.04 desktop machine?

      If you have a host machine that runs Ubuntu Linux operating system, then you need to install Vagrant to automate and manage virtual machines. Now, let's see how to do Vagrant installation on Linux host machine. # Download Vagrant. $ wget ...
    • How to install Terraform on Ubuntu Linux 18.04 desktop machine?

      Let's install Terraform by downloading and extracting the executable binary for Linux. This is most recommended way of installing Terraform on any Linux-based operating system. No matter how we install Terraform, its just a executable binary. Once ...