CAEN Knowledge Base
CAEN Knowledge Base

How do I change my prompt in Bash?

Use the following command:

export PS1="[\u@\h \W]\\$ "