How to change Crontab default editor

How to change Crontab default editor


In this tutorials, we will show you how to change the crontab editor with nano.


Requirements :


Install nano package on your server

CentOS

yum install nano -y


Ubuntu

apt-get install nano -y


Change the crontab editor

export EDITOR=nano


Use crontab with nano

crontab -e

Add your cronjob, edit/save and use all the nano commands


Colo-Serv Communications has written 20 articles

Premium Dedicated Server in Canada

Leave a Reply

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

three + three =

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>