Re: Cleaning linux console



Luka Ćavara wrote:

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

I want to predefine Esc button for this?

Ctrl+C clear current line
clean clean entire screen


ctrl-c does not clear the current line but terminates it :) You end up in a new line that's clear just because it's new.

ctrl-u does the trick. Also ctrl-a (moves the cursor to the beginning of the line) and ctrl-e (same thing, end of line) might be of some interest.

best regards,
Georgi

--

-- http://weblog.ubernice.org
.


Quantcast