How can I check what version of the
vi editor I have? What's the best way to upgrade it or install
vim on Solaris?
The command to show the version is
which can be abbreviated to
You should try to find the
vi version with the package manager:
pkginfo | grep -i vi
You can simply open the editor by typing
This will open the default page that shows the version number.
On Solaris 11 and later releases, vim is now the default version of vi.
should do this job :)