打开 “~/.bashrc”,找到以下内容:
- PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$
- PS1='${debian_chroot:+($debian_chroot)}\u@\h:\$
再执行如下命令:
- . ~/.bashrc
- source ~/.bashrc
修改后的效果:
- moran@linux:$ pwd
-
/home/moran/program/driver_study/globalmem
- moran@linux:$
5605阅读 0评论2011-05-08 chenliangmoran
分类:LINUX