0

I downloaded a VMWare image from a website, and after changing the username, account and password, when I open up the terminal I still get that I'm executing it in:

osboxes@myUsername:~$

Would I be able to change it to be:

myUsername@myUsername:~$
1
  • What is your username osboxes? The first part is usually the username and the second part, after the @ your hostname.
    – A.B.
    Jul 8 '15 at 8:43
0

Propably your prompt is wrong. Check echo $PS1, there should be %n which is your username. Also read and try to customize your prompt for your needs.

0

If you want to customise the names appearing on your terminal , open vim .bashrc

find the line PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$,

replace u with your username you wanted to, and change h to the one you wanted to replace .

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.