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

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


banner dedicated


Colo-Serv Communications has written 32 articles

Premium Dedicated Hosting Services