An Example on how to setup or change bash prompt (PS1)

Tags: , , ,

Sometimes you want to change the bash prompt to a more friendly format.
We can change it using:

PS1=”my new promot”

See this example: