linux terminal text editors interfaces

Usually when you are remoting your server via SSH or Telnet, you are dealing with command interface and almost every configuration in your server needs a text file be edited, so one of the most useful tools everyone needs for server administration, configuration and maintenance is a text editor that works within command interface.

Base on poll , top 5 best linux text editors are Vim, gEdit, Nano, gVim, Eclipse and Emacs as shown in the chart below:

Image: TheGeekStuff  -  [ Top 5 Linux Text Editors ]

Image: The GNU Nano Logo

Although Vim is so popular among sysadmins, but i prefer to use Nano for my daily routine works, though for serious text editing like programming Vim would be  better choice due to the various features which can be handy while dealing with large text files.

Opening a text file in Nano is almost like every other command-line text editor:

nano /path/

To save the file after editing, you can press Ctrl+x to exit as it has described in the lower part of the editor

Image: Nano Screenshot

You can install Nano on your linux simply by using install commands such as YUM :

yum install nano

or you can visit the download page from the official Nano website.

when a file is open by Nano, you can use arrow-keys on your keyboard to navigate, or if you want to move faster through the pages, you can use Ctrl+v instead of PageDown or Ctrl+y instead of PageUp. You can even search through the text by pressing Ctrl+w and then in the search bar (lower left corner of the page, above help bar) you should type the phrase you are looking for and then press Enter. your previous phrase will remain the the search and you do not need to type the exact phrase again and again for multiple searches. The search phrase will be cleared after you close the Nano.

Images: Vim Logo

To use Vim, you can use the official Vim website in order to learn how you should operate with it. Two very basic actions:

Opening a file:

vim /path/

To start inserting texts, you should switch to “Insert Mode” by pressing i on your keyboard. to get out of “Insert Mode” just press Esc button.

Closing the opened file without saving type this in Normal Mode :


Closing the Opened file with saving type this in Normal Mode :


2 thoughts on “linux terminal text editors interfaces”

  1. I will right away grab your rss feed as I can not to find your e-mail subscription hyperlink or e-newsletter service. Do you’ve any? Kindly allow me recognise in order that I may just subscribe. Thanks.

    1. Dear Marschel

      Sorry for the delay I had for answering your comment, actually I’m working on a new version of my website and It’s going to be a bit different from either visual aspect and backbone structure. In the new version I’ll include the email subscription feature too.
      Thanks for your suggestion.


Leave a Reply

Your email address will not be published. Required fields are marked *

This is new type of CAPTCHA, make the puzzle please !WordPress CAPTCHA