Other Text Editors: Nano and Emacs

Goal: Briefly introduce two other common and popular text editors available on the command-line in Linux.



Nano

GNU nano is a small and easy to use command line text editor. Besides basic text editing, nano offers features like undo/redo, syntax coloring, interactive search-and-replace, auto-indentation, line numbers, word completion, file locking, backup files, and internationalization support.

  • Nano is terminal based and for use in command line.

  • There are add-ons which allow it to be used in a GUI

  • More information for using Nano on ARCC HPCs may be found here.


Nano - Try it:

In an HPC terminal window, launch nano with the nano command.


Emacs

Emacs is a portable platform for creating applications with a text user interface. It serves as a fully programmable text editor. Many users use Emacs in a variety of different ways.

  • Emacs may be run in a command prompt (command line environment) or in a GUI.

  • It can also be used as an IDE (Integrated Development Environment).

  • More information for using Emacs on ARCC HPCs may be found here.


Emacs - Try it (GUI):

 

 


Emacs - Try it (Command Line):