Andy Green andy at warmcat.com
Sat Nov 24 14:06:37 UTC 2007

Somebody in the thread at some point said:
> Mikkel L. Ellertson wrote:
>> Steven Stern wrote:
>>>  vi /etc/group
>> While it probably doesn't make any difference on a single user
>> system, you should get in the habit of using vigr instead of vi for
>> editing the group file, and vipw for editing the passwd file. This
>> helps insures that only one program at a time modifies the files.
>> Also, if you  have set EDITOR, they will use the editor of your choice.
>> Mikkel
>    I use joe because I learned Wordstar years ago and it is thus simple.
> And vi and all the variations are hard for me to remember. So can I set
> joe as my EDITOR? Sounds like a bash call...

bash is interested in /etc/bashrc for all users and ~/.bashrc for a
particular user when it starts up.  You can stick

export EDITOR=vi

or whatever in either.


More information about the fedora-list mailing list