LinuxSir.cn,穿越时空的Linuxsir!

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

LFS的PS1变量问题?

[复制链接]
发表于 2006-4-4 08:36:05 | 显示全部楼层 |阅读模式
为什么我的BASH前是这样root@localhost : /rootroot@localhost:#
就是又两个@,重复了阿,我看了 .bashrc .bash_profile /etc/bashrc
/etc/profile是export PS1='\u@\h:\$ '
主释了/etc/bashrc的PS1
现在X的终端是root@localhost : /rootbash-3.00#
字符模式下仍为root@localhost : /rootroot@localhost:#


这么解决?
发表于 2006-4-4 09:03:30 | 显示全部楼层
/etc/profile.d/extraprompt.sh
里边的东西
回复 支持 反对

使用道具 举报

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

本版积分规则

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