when i start putty on a server
i get the promp like below:
hpbl802!benjaminb:~ [22]>
How can i change this prompt to
benjamin:~ [22]>
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It’s not Putty, it’s your shell that gives you the prompt. If you are using bash, try:
If that works, you can add the two lines to your
$HOME/.bashrcon the server.More information on bash prompts.
If your shell is not bash, you need to tell us what shell it is. The easiest way is to type a non-existent command on the command-line:
The above tells me that my shell is bash.