[CentOS] vi defaults in 6.x

Gordon Messmer yinyang at eburg.com
Mon Aug 20 17:16:07 UTC 2012


On 08/20/2012 04:07 AM, Joerg Schilling wrote:
> Gordon Messmer<yinyang at eburg.com>  wrote:
>
>> >Actually, it's a shell alias.  And then, only if "vim" is installed,
>> >which it isn't in some configurations.  IIRC, desktop systems have him
>> >by default, but server installations do not.
> It is neither a symlink nor a shell alias - execpt maybe for platforms that
> for some reason don't include vi.

On a CentOS system, "vi" will be a shell alias when the "vim" package is 
installed.  Otherwise it will be a variant of "vim" which is more 
compatible with the POSIX description of "vi" (though not 100%).  As we 
are discussing CentOS, I believe my statements did not require 
correction.  Thanks.




More information about the CentOS mailing list