LinuxSir.cn,穿越时空的Linuxsir!

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

bash问题急!!!!!!!!!!!!!!!!

[复制链接]
发表于 2004-11-4 12:23:41 | 显示全部楼层 |阅读模式
我在装redhat as3的时候忘了装英文字体了,现在进到系统里,在文本界面里看中文很难受,我想将系统环境还成英文的,请问在哪里做修改。
还有我昨天在整合apache和tomcat的时候,突然发现系统里的命令解释器好像出问题了,一进系统就提示下面这些错误,在系统里不管敲什么命令都提示命令找不到。请问怎么修改,谢谢
-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
发表于 2004-11-4 13:02:34 | 显示全部楼层
是不是修改PATH了?。。。。。
 楼主| 发表于 2004-11-4 14:36:34 | 显示全部楼层
这个问题应该是在装了rpm版的jdk后才出现的,有没有修改path,我不是很清楚,
发表于 2004-11-4 14:40:09 | 显示全部楼层
怀疑是安装JDK的时候改动了/etc/profile 或者 /etc/bashrc文件。

自己加上去试试。
/bin:/usr/bin:/sbin:/usr/sbin
 楼主| 发表于 2004-11-9 01:00:12 | 显示全部楼层
谢谢,确实修改了profile,把该文件恢复就好了,
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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