Posts Tagged debian

Using vi as crontab editor

Hi!

The default Debian installation use a non-vi editor when you try to use crontab (ie: “crontab -e”).

To change it to vi, you should do the following:

rm -f /etc/alternatives/editor
ln -s /usr/bin/vi /etc/alternatives/editor

, ,

No Comments