The prompt is controlled by the environmental variable $PS1. (There are also $PS2, $PS3, and $PS4 for special purposes; see
bash man page if interested.)
If "intel" is your hostname, then I think what you want is one of the following:
Code:
PS1='\h\$'
PS1='\H\$'
I suggest trying this interactively to see if it gives you the result you want. Or check the
man page for many other options for the string to contain. For example to do a prompt similar to what you currently have, but just show the
basename of the directory (i.e. the last part of the path) try:
In all of the above, I am assuming that the hash symbol (#) is the result of being
root. The above definitions will cause that to change to dollar sign ($) for normal users.
After interactively getting the prompt the way you like it, you can add that line to /etc/profile or ~/.bash_profile as appropriate on the
remote machine.