Frequent Question: Which Is the Default Editor for Linux Systems?
Contents

By default on most Linux systems, the default text editor for commands such as visudo and crontab is set to vi. To use nano as the default text editor, you need to change the VISUAL and EDITOR environment variables .

How do I find the default editor in Linux?

Setting the default text editor

  1. Log in to your account using SSH.
  2. Open the . bashrc file in your preferred text editor.
  3. Add the following lines to the .bashrc file. …
  4. Save the changes to the . …
  5. To make the new default text editor settings take effect, log out of your account and then log back in.

What are the editors in Linux?

Linux Text Editors

  • Vi/VIM editor.
  • Nano editor.
  • Gedit editor.
  • Sublime text editor.
  • VSCode.
  • GNU emacs.
  • Atom editor.
  • Brackets editor.
Chloe Bennett

Chloe Bennett

Culture, Media & Entertainment Columnist

Chloe Bennett explores the intersection of pop culture, streaming entertainment, digital trends, and contemporary lifestyle. Her weekly commentary reaches thousands of culture enthusiasts.

Share this article
Twitter Facebook Pinterest