Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I understand that a standard terminal security feature is to not show '*'s or indicate any kind of progress of password input. If I know that I have typed a password wrong, rather than having to hit enter and wait for the form to ask me again, is there a way to remove all hidden input?

share|improve this question
add comment

2 Answers

up vote 13 down vote accepted

In bash, following will clear your input before the cursor: Ctrl+U.

Same applies for passwords, i.e.: my-wrong-password Ctrl+U my-good-password

share|improve this answer
    
Working perfectly, will mark as correct in 5 minutes when I'm allowed. Thanks. –  Anonymous May 29 '12 at 13:29
add comment

I always mash like 100 times on backspace and it seems to work for me. And re-enter my password

share|improve this answer
    
Hey Dr Bunsen, just tried that, not working for me..? –  Anonymous May 29 '12 at 13:24
1  
try Ctrl + U and backspace also works on 12.04, m8 of mine just checked –  Dr_Bunsen May 30 '12 at 8:09
    
Yep that's working for me, marked Andrejs Cainikovs' answer as correct. –  Anonymous May 30 '12 at 8:10
    
ok ;) good to hear thats its working for you. what Ubuntu version are you running?! –  Dr_Bunsen May 30 '12 at 8:18
    
I'm also on 12.04. –  Anonymous May 30 '12 at 8:22
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.