How to change prompt of terminal

gksu gedit .bashrc

delete or comment out this line:

PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '

and replace with

PS1='your_prompt :\w\$ '


你可能感兴趣的:(ubuntu,prompt)