Linux, FreeBSD, Juniper, Cisco / Network security articles and troubleshooting guides

FAQ
It is currently Tue Oct 03, 2023 4:48 pm


Guides and tutorials for Red Hat Linux, Debian, Suse and others.

Author Message
mandrei99
Post  Post subject: How to change crontab editor in Debian Linux  |  Posted: Tue Sep 23, 2014 6:04 am

Joined: Tue Aug 04, 2009 9:16 am
Posts: 250

Offline
 

How to change crontab editor in Debian Linux

How to change crontab editor in Debian Linux - using update-alternatives

Code:
$ sudo update-alternatives --config editor
There are 3 choices for the alternative editor (providing /usr/bin/editor).

  Selection    Path                Priority   Status
------------------------------------------------------------
* 0            /bin/nano            40        auto mode
  1            /bin/nano            40        manual mode
  2            /usr/bin/vim.basic   30        manual mode
  3            /usr/bin/vim.tiny    10        manual mode

Press enter to keep the current choice[*], or type selection number: 3
update-alternatives: using /usr/bin/vim.tiny to provide /usr/bin/editor (editor) in manual mode





Top
tsuchan
Post  Post subject: Re: How to change crontab editor in Debian Linux  |  Posted: Tue Mar 08, 2016 6:53 pm
Nothing I could do persuaded the editor to work in vi, even though the asterisked value was already option 2. So I un-installed nano. That worked.


Top
Display posts from previous:  Sort by  
E-mail friendPrint view

Topics related to - "How to change crontab editor in Debian Linux"
 Topics   Author   Replies   Views   Last post 
There are no new unread posts for this topic. Linux change the password with output from echo command (standard input)

debuser

0

4703

Thu Jan 14, 2010 5:58 pm

debuser View the latest post

There are no new unread posts for this topic. Debian: Quick dpkg query commands

debuser

0

2601

Thu Aug 06, 2009 7:16 am

debuser View the latest post

There are no new unread posts for this topic. Configure bind (named server) to listen on localhost on Debian

debuser

0

4282

Tue Jun 01, 2010 5:16 pm

debuser View the latest post

There are no new unread posts for this topic. Linux reloading inittab without reboot

debuser

0

5573

Thu Nov 26, 2009 4:49 am

debuser View the latest post

There are no new unread posts for this topic. Linux umount -f: umount2: Device or resource busy

debuser

0

4256

Fri Apr 09, 2010 7:52 am

debuser View the latest post

There are no new unread posts for this topic. Linux Shell: Protecting against accidental output redirection and file overwrite

LaR3

0

3093

Mon Aug 24, 2009 10:14 am

LaR3 View the latest post

There are no new unread posts for this topic. Linux Shell: "Cannot overwrite existing file" when the file is owned by you

LaR3

0

6584

Mon Aug 24, 2009 10:26 am

LaR3 View the latest post

 

Who is online
Users browsing this forum: No registered users and 0 guests
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum
Jump to:  
cronNews News Site map Site map SitemapIndex SitemapIndex RSS Feed RSS Feed Channel list Channel list


Delete all board cookies | The team | All times are UTC - 5 hours [ DST ]



phpBB SEO