+4 votes
465 views
How to change vi editor that comes by default in crontab.

in Linux / Unix by (551k points) | 465 views

1 Answer

+5 votes
Best answer

I do not know if it has happened to you and if you are fanatical of the editor I saw of linux, I personally consider it a macabre devil's work, I have never gotten used to it, since I have use of linux reason, I have tried to change it, that if , gedit, nano , up to emacs (in honor of Richard Stallman) whatever it is not to use vi.

Well, one of my worst moments came when I tried to use the crontab, there was no way, I always saw it, thank goodness that today I managed to change the editor, just export the environment variable EDITOR indicating that we want the editor nano, for example: 
export EDITOR = »nano»

It's not that the nano editor is a big deal, but it makes a world compared to the vi editor.


by (551k points)

Related questions

+3 votes
1 answer
+5 votes
1 answer
asked Jun 23, 2019 in Linux / Unix by backtothefuture (551k points) | 166 views
+5 votes
1 answer
asked Aug 23, 2019 in Linux / Unix by backtothefuture (551k points) | 418 views
+5 votes
1 answer
asked Nov 12, 2019 in iPhone by backtothefuture (551k points) | 228 views
+5 votes
1 answer
asked Sep 22, 2019 in Windows 10 by backtothefuture (551k points) | 230 views
Sponsored articles cost $40 per post. You can contact us via Feedback
10,634 questions
10,766 answers
510 comments
3 users