brite, a MVC Framework for jQuery

Amazon EC2: Change prompt

November 13th, 2013 by jeremychone
vi .bash_profile

Just before the PATH=$PATH…. add something like this

PS1="[\u@MY SERVER 1:\w]$ "

Then, you can source it to have it immediately.

source .bash_profile

This is safer than changing the hostname, but works on a user base. For multiple user, edit a profile.d type of files.

Comments are closed.