2个回答
展开全部
这个应该不会,是不是你的path设置少了。下面是它们的关联关系:
server:/$ ls -l /usr/bin/vi
lrwxrwxrwx 1 root root 20 Jul 23 2009 /usr/bin/vi -> /etc/alternatives/vi
server:/$ ls -l /etc/alternatives/vi
lrwxrwxrwx 1 root root 18 Jul 23 2009 /etc/alternatives/vi -> /usr/bin/vim.basic
server:/$ ls -l /usr/bin/vim.basic
-rwxr-xr-x 1 root root 1644100 Mar 19 2009 /usr/bin/vim.basic
server:/$ ls -l /usr/bin/vi
lrwxrwxrwx 1 root root 20 Jul 23 2009 /usr/bin/vi -> /etc/alternatives/vi
server:/$ ls -l /etc/alternatives/vi
lrwxrwxrwx 1 root root 18 Jul 23 2009 /etc/alternatives/vi -> /usr/bin/vim.basic
server:/$ ls -l /usr/bin/vim.basic
-rwxr-xr-x 1 root root 1644100 Mar 19 2009 /usr/bin/vim.basic
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询