How to change “-bash-*”?

If you are seeing this in your bash (SSH), It makes it tough to navigate through SSH since it doesn’t give you much information.


To fix that, you can simply type this in your SSH when logged in:

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

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.