- 论坛徽章:
- 0
|
我在redhat Enterprise Es release 3下装了j2sdk ,然后在/etc/profile
里加了一行:
PATH=$PAHT:/home/soft/j2sdk1.5.0/bin/
其他的我都没动,退出后再登录,就显示:
-bash: id: command not found
-bash: [: =: unary operator expected
/bin/egrep: line 2: exec: grep: not found
-bash: id: command not found
-bash: dircolors: command not found
-bash: grep: command not found
-bash: grep: command not found
-bash: id: command not found
-bash: [: =: unary operator expected
-bash: cut: command not found
-bash: tr: command not found
-bash: cut: command not found
-bash: tr: command not found
-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
然后就麻烦了,ls,vi ,cat 等大部分命令都用不了了,目前发现只有cd可以用,但java的命令却可以用。想重新写过/etc/profile,vi命令又用不了,真的郁闷啊!各位高手请帮帮忙,小弟跪地求了! |
|