修改ubuntu的终端提示符
摘要:
修改/etc/profile文件为:if [ "$PS1" ]; then if [ "$BASH" ] && [ "$BASH" != "/bin/sh" ]; then # The file bash.bashrc already sets the default PS1. # PS1='\h:\w\$ ' ,下面是添加的 export PS1='[/u@/h /W/]/$ ' if [ -f /etc/bash.bashrc ]; then . /etc/bas 阅读全文
posted @ 2013-04-19 15:58 K's Blog 阅读(1555) 评论(0) 推荐(0) 编辑