Changing the default text editor on Linux to Nano

The default command line text editor in shell on Linux BSD determines what is used when you run commands such as "crontab -e" and this is often not what you want to use. Typically vi/vim is the default text editor.

First make sure Nano is installed by running this command:

yum install nano

While you are there, you might want to download these common tools for CentOS as well:

yum install nano wget curl net-tools lsof bash-completion

We prefer to use Nano which can be enabled with one simple code.

export EDITOR=nano

  • nano, linux default editor, change editor, change default editor, vim
  • 17 Users Found This Useful
Was this answer helpful?

Related Articles

Where is the servers located?

The main servers are located in Los Angeles. We also have backup servers in Las Vegas and round...

How is your web hosting so fast?

To be honest it's not one big thing although there is a couple more expensive things we do to be...

How to flush your DNS cache

Your home computer creates a cache for all DNS settings. It does this to save time each time you...

What is the root login for my new VPS server?

The root login is the same password our system sent you in your welcome email. You just change...

What is the path to PERL?

The path to PERL in PERL script is:#!/usr/local/bin/perl