Amazon EC2: Change promptNovember 13th, 2013 by jeremychone
Just before the PATH=$PATH…. add something like this
PS1="[\u@MY SERVER 1:\w]$ "
Then, you can source it to have it immediately.
This is safer than changing the hostname, but works on a user base. For multiple user, edit a profile.d type of files.