sudo in terminal

Robert Storey y2kbug at ms25.hinet.net
Thu Feb 24 00:18:28 UTC 2005


On Wed, 23 Feb 2005 15:18:13 -0500
"H. Crissman" <hcrissman at secure-mind.net> wrote:

> On Wednesday 23 February 2005 13:22, Alexander Dalloz wrote:
> >
> > Please read my yesterday's reply.
> >
> > Alexander
> 
> Good call. Sorry about that. How would I make vi=vim, ie alias?
> 
> H. Crissman

Put a line in files .bashrc and .bash_profile as follows:

   alias vi='vim'

You'd have to do this for each user who wants to use vim instead of vi.

Of course, you could just do without the alias and type "vim" rather
than "vi".

cheers,
Robert




More information about the fedora-list mailing list