How to change Crontab default editor

banner dedicated

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

Requirements :

Install nano package on your server


yum install nano -y


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

banner dedicated

Colo-Serv Communications has written 32 articles

Premium Dedicated Hosting Services

Leave a Reply

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

five × 5 =

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>