When I open up the terminal, I get this instead of my username:
Is there any reason why I am getting such username?
You can easily fix this by defining your own PS1 (your prompt) by editing the ~/.bashrc config file. An example including your username, hostname, working directory and prompt sign is:
PS1='\u@\h \w \$ '
After editing ~/.bashrc you need to source it to make the changes apply in the current shell:
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
By posting your answer, you agree to the
terms of service.
6 months ago