Take the tour ×

Choose Menu System->Administration->Users and Groups

I am able to see my Users Settings as follows:

User name: mike

Then why I still see the following prompt line?

user@ubuntu:~$ echo $USER

I expect to see the following

mike@ubuntu:~$ echo $USER

If my understanding is wrong, then how can I change it in this way?

share|improve this question
Did you logout and login again? –  larsmans Sep 22 '11 at 14:40
@larsmans, yes, I did. But it doesn't work. –  q0987 Sep 22 '11 at 14:43
add comment

migrated from stackoverflow.com Sep 22 '11 at 17:31

This question came from our site for professional and enthusiast programmers.

1 Answer

I think the name mike is stored in Gnome, and not visible in the whole system.

Your real system name is user. Take a look at this to change your username.

share|improve this answer
add comment

Your Answer


