Just a thought (to exhaust my meager knowledge)
I'm afraid that the following slim insight draws to the depths of my knowledge, but thought I would share it FWIW:
In [my] Mandrake 10.1, :"which vim" indicates a path of "/bin/vim"; whereas "which vi" yields "/usr/bin/vi". Both paths are shown in "echo $PATH". Either command works equally well for me.
You may want to explore whether your two OS' treat those queries differently. (Also, look up "man which".)
|