General discussion

Locked

Clear shell history

By cp409sd ·
I accidentally typed a password at the command prompt thinking I was being asked for one by a program, when in reality, I was just at the regular command prompt. Now that password is in the history. I am using ksh for the shell. How do I get rid of this from the history? Also, if someone knows how to do it on the bash shell, that would be helpful too. Thanks.

This conversation is currently closed to new comments.

3 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Back to Linux Forum
3 total posts (Page 1 of 1)  

Related Discussions

Operating Systems Forums