0

I don't understand why this $ apprear in the second line:

Terminal Prompt

How can I fix this?

matigo
  • 20,403
  • 7
  • 43
  • 70
  • 9
    Please add the output of: `echo $PS1` – Artur Meinild Nov 07 '21 at 10:02
  • 2
    Your prompt ($PS1) is no doubt set to include a LF (line-feed) character. Change it to whatever you want it to be. https://help.ubuntu.com/community/CustomizingBashPrompt – guiverc Nov 07 '21 at 10:57
  • Does this answer your question? [Changing colors for user, host, directory information in terminal command prompt](https://askubuntu.com/questions/123268/changing-colors-for-user-host-directory-information-in-terminal-command-prompt) – karel Nov 08 '21 at 06:27

0 Answers0