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.

-bash-3.2#

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

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

Related posts:

  1. How to change password in linux console?
  2. Woman emailed party invites in her sleep

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>