Ubuntu Reset crontab-e Default Editor

Source: Internet
Author: User

If this is the first time you have performed "Crontab-e", you will be prompted to select an editor and select the appropriate editor. I chose "4", vim.

  1. Select an editor. To change later, run ' Select-editor '.

  2. /bin/ed

  3. /bin/nano <----easiest

  4. /usr/bin/vim.basic

  5. /usr/bin/vim.tiny

  6. Choose 1-4 [2]:


On the first-line server set up a scheduled task, accidentally selected Nano, because the previous contact is Redhat series, not accustomed to use Nano, so want to reset, online check the next, seemingly no.

Helpless, from the installation of a server test, found that when you first crontab-e to choose the editor when you will remind you: in the future to change the selection, input Select-editor

Alas, it is not careful enough.

sudo select-editor choose Vim to fix.


Ubuntu Reset crontab-e Default Editor

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.