When I launch the terminal in Ubuntu 14.04.2, it does not show the prompt until the enter key is pressed. I think some process is preventing the prompt from appearing. Could anyone please help me in resolving this issue? Terminal without prompt

  • 2
    Well, have you looked at what's in your .bashrc, /etc/bash.bashrc, etc.? – muru Mar 7 '16 at 16:13
  • Below link has the contents of .bashrc in home directory. There was no .bashrc in /etc. pastebin.com/QxVbBLa8 Do I have to change anything in this file ? – Ashwath Mar 9 '16 at 2:53
  • @muru This link has the contents of /etc/bash.bashrc. Could you please take a look and let me know if something is wrong? – Ashwath Mar 16 '16 at 16:03

I figured out the reason - there was a backslash at the end of ~/.bashrc file. This will allow the user to enter arguments for the last command listed in that file. Since the .bashrc file executes when a terminal is opened, I was not able to see the prompt until I pressed Ctrl+C. Thanks for all the responses.

| improve this answer | |

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.