.bashrc file in your user directory or globally in /etc/bashrc
it would look about like this:
Code:
[ "$PS1" = "\\s-\\v\\\$ " ] && PS1="[\u@\h \W]\\$ "
that would give you:
[user@host cwd]#
cwd = current working directory ie if your in /var/www/html it would show just html