Quantcast
Channel: command prompt stuck on same line - Ask Ubuntu
Viewing all articles
Browse latest Browse all 3

command prompt stuck on same line

$
0
0

Sometimes (rarely) it happens that when I hit enter on a terminal, the command prompt doesn't go to the next line, but it gets printed again on the same line.

My work around is to simply close the terminal and open a new one. Is there any way to avoid this?

Steps to reproduce:

  1. try to log into mongo with authentication enabled, so that you get the prompt to enter the password, like so: mongo --authenticationDatabase somedb -u someuser -p,
  2. then in the password prompt that is shown, hit ctrl+c, voila, now everything is on same line

Viewing all articles
Browse latest Browse all 3

Latest Images

Trending Articles





Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596344.js" async> </script>