When you log in with the standard pi user in commandline, you see like pi@hostname and after that the location path you're in. But when I create a new user and log in into that, that line disappears... How can I get that back?

  • What happens if you type bash ... What is the output of cat /etc/passwd/ |grep newuser ... the last colon separated field shows the default shell for that user. Dec 22 '17 at 0:38

It might be that the necessary .bashrc code is not in the new user's home directory. Check out my answer to a similar question here for a possible solution:

Why is my username in the terminal not green

Good luck!

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.