LinuxSir.cn,穿越时空的Linuxsir!

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

装了JAVA后连shell都不能用了.急啊急啊

[复制链接]
发表于 2004-9-13 17:03:12 | 显示全部楼层 |阅读模式
按照步骤装了java改了环境变量后shell都不能用了.输入所有的命令都提示bash找不到.我是刚装的AS3.0 U2版本.提示如下:

Last login: Mon Sep 13 16:21:16 2004 from 203.94.3.172
-bash: id: command not found
-bash: id: command not found
-bash: id: command not found
-bash: [: too many arguments
-bash: tput: command not found
-bash: tput: command not found
-bash: wc: command not found
-bash: [: : integer expression expected
[root@ithap root]# ls
-bash: ls: command not found
[root@ithap root]# ls
-bash: ls: command not found
[root@ithap root]#
[root@ithap root]#
[root@ithap root]#
 楼主| 发表于 2004-9-13 17:47:59 | 显示全部楼层
已经可以了.
用绝对路径,再重新设置一下:
/bin/vi /etc/profile就可以了.
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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