Re: Cleaning linux console
- From: Georgi Kehaiov <nortalion@xxxxxxxxx>
- Date: Fri, 30 May 2008 13:47:23 +0200
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
.
- Follow-Ups:
- Re: Cleaning linux console
- From: Luka Ćavara
- Re: Cleaning linux console
- References:
- Cleaning linux console
- From: dpenev
- Re: Cleaning linux console
- From: Luka Ćavara
- Cleaning linux console
- Prev by Date: Re: Things Linux Can Do Without
- Next by Date: Re: is fstat or printf error?
- Previous by thread: Re: Cleaning linux console
- Next by thread: Re: Cleaning linux console
- Index(es):