Change the crontab Editor: Difference between revisions

From KlavoWiki
Jump to navigationJump to search
Created page with "To change the crontab editor on Debian <pre> update-alternatives --config editor </pre> Category : Debian"
 
No edit summary
 
Line 1: Line 1:
To change the crontab editor on Debian
To change the crontab editor on Debian
= Option 1 =
<pre>
<pre>
update-alternatives --config editor
update-alternatives --config editor
</pre>
= Option 2 =
For nanao
<pre>
export VISUAL=nano
</pre>
For vim
<pre>
export VISUAL=vim
</pre>
= Display current editor =
<pre>
set | grep VISUAL
</pre>
</pre>


[[Category : Debian]]
[[Category : Debian]]

Latest revision as of 00:17, 12 June 2016

To change the crontab editor on Debian

Option 1

update-alternatives --config editor

Option 2

For nanao

export VISUAL=nano

For vim

export VISUAL=vim

Display current editor

set | grep VISUAL