0

In any terminal there is specific meaning of puneet@Puneet-Ubuntu-PC:~$I want to replace '$' symbol with '>'.

Please guide me How can I make this change.

1 Answers1

2

Open .bashrc file with your favorite text editor. In my case I used nano. Find the line that looks like

PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '

In my case it was at line 53. Replace it with:

PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]> '

And you are done. Open a new terminal to see changes.

Kulfy
  • 18,154