Results 1 to 4 of 4
I am quite comfortable with nano. But I still would like to know what advantages there are to using vi editor , over nano. I input a web search with ...
- 05-23-2010 #1Linux Newbie
- Join Date
- Aug 2009
- Posts
- 156
Solvled Why vi or vim when you can use nano?
I am quite comfortable with nano. But I still would like to know what advantages there are to using vi editor , over nano. I input a web search with same question, but did not get the answer I was looking for. Frank
Thanks Ozar, for pointing me in the right direction. I was confusing vi vim and visudo.
I found a website that gave me the advantages of the vi editor and how to use it.
I will post the link in hopes it may help someone else.
VI and VIM editor: Tutorial and advanced featuresLast edited by frank56; 05-24-2010 at 12:48 PM. Reason: to correct error
- 05-23-2010 #2forum.guy
- Join Date
- May 2004
- Location
- arch linux
- Posts
- 18,081
The visudo command is for editing the sudoers file:
visudo - Wikipedia, the free encyclopedia
You can use nano to do that but it's not as safe to do so.
Otherwise, vi and vim are much more powerful as text editors than is nano, but you should use whatever you need for your purposes, or want to use.oz
→ new members/users: read this first | new member faq
→ no private messages requesting computer support - post them on the forums!
→ please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.
- 05-25-2010 #3
You can also use nano as the editor in visudo.
Code:sudo EDITOR=nano visudo
- 05-25-2010 #4forum.guy
- Join Date
- May 2004
- Location
- arch linux
- Posts
- 18,081
If I'm not mistaken, there are some other editors that can be used with the proper variables, as well. I used to use nano without the variables for carefully editing the sudoers file but was lucky to have never had any problems, I suppose.
oz
→ new members/users: read this first | new member faq
→ no private messages requesting computer support - post them on the forums!
→ please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.


Reply With Quote
