LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 800|回复: 1

关于vi命令无法使用的疑问

[复制链接]
发表于 2006-3-29 14:40:46 | 显示全部楼层 |阅读模式
为什么我用远程登陆后出现下面错误:
Last login: Wed Mar 29 14:21:52 2006 from xxx.xxx.xxx.xxx
-bash: id: command not found
-bash: [: =: unary operator expected
-bash: id: command not found
-bash: dircolors: command not found
-bash: id: command not found
-bash: id: command not found
-bash: id: command not found
-bash: [: too many arguments

使用vi等命令也是出错
-bash: vim: command not found

新人求助!!
请各位给个问题解释和解决办法,谢谢了!!
发表于 2006-3-29 15:27:47 | 显示全部楼层
maybe you are in a restrict shell or maybe your $PATH env variable is wiped out... Check your PATH first and then /etc/passwd file.
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表