Introduction

vi is a wonderful, full feature text editor. However, some might lack experience with vi and prefer a simpler text editor for quick configuration and crontab edits.

HowTo

Install nano

Installing nano is done using the yum system.

yum -y install nano

Now that we know it is installed, run this:

 

nano /etc/bashrc

Then add this line at the bottom


export EDITOR="nano"

Then log out and login again. Next time you do certain functions like edit the crontab, nano will be the default editor.

 

¿Fue útil la respuesta? 2 Los Usuarios han Encontrado Esto Útil (6 Votos)