the distributions of Linux that we use, Crontab editor is different, Ubuntu is nano in CentOS is vi, etc.
To change the default crontab editor, we must first find out where is the executable of the new editor, in this case we will change to " vi" with "nano " Which
- nano / usr / bin /
- nano export EDITOR = / usr / bin / nano
with this we get to edit cron jobs (crontab-e ) the publisher is " nano" and not "vi "
Based on the post of NetAdminTools
0 comments:
Post a Comment