Re: Cleaning linux console



dpenev@xxxxxxxxx wrote:
Hi guys,

How can I clean the current linux console line if I have already typed
something.

I want to predefine Esc button for this?
Any ideas?
Thanks!
Dimitar

With bash, one way is CTRl-u if you are at the end of the line, but see the man page for the details. You can define additional keybindings to kill the line regardless of the position (see eg kill-whole-line).

--
D.
.


Quantcast