Ubuntu server 14.04 crontab -e编辑器默认是nano,还是习惯用vi。
sudo select-editor 选择3 vim 搞定。
iflytek@neo03:/iflytek/shell$ sudo select-editor
[sudo] password for iflytek:
Select an editor. To change later, run 'select-editor'.
1. /bin/ed
2. /bin/nano <---->---->
3. /usr/bin/vim.basic
4. /usr/bin/vim.tiny
Choose 1-4 [2]: 3
iflytek@neo03:/iflytek/shell$