摘要: 有的机器上可能登上去后显示总是-bash-3.00$,解决方法是对比其他机器的~/.bash_profile文件,发现补充上以下东西就可以显示"xx@机器名 当前dir“了。2 if [ -f ~/.bashrc ]; then 3 . ~/.bashrc 4 fi 5 PATH=$PATH:$HOME/bin 6 export PATH 7 unset USERNAME深入的看下,发现是在/etc/bashrc文件里面有这样的设置17 # are we an interactive shell?18 if [ "$PS1" ]; then19 case $TER 阅读全文
posted @ 2012-10-08 16:59 mangu_uu 阅读(10021) 评论(0) 推荐(0) 编辑