Shell tab-completion and other helpful command-line tricks

Derek Broughton derek at pointerstop.ca
Thu Jan 29 23:59:36 UTC 2009


Jonas Norlander wrote:

> CTRL+A move to beginning of line.

I'd completely forgotten that I used to do that, because HOME usually does 
the job, now
> CTRL+E move to end of line.

END

> ALT+F move forward a word.

CTRL-RIGHT (except I buggered that by following somebody else's advice, and 
haven't got around to fixing it, so it's nice to see that ALT-F and ALT-B 
still work)

> ALT+B move back a word.

CTRL-LEFT

> CTRL+L clear screen.
> CTRL+k remove the text from the cursor to the end of the line.

hmmm.  Never did know that one...

> CTRL+X BACKSPACE remove text from the cursor to the beginning of the line.

ctrl-U

> ALT+D delete a word forward.
> ALT+BACKSPACE delete a word backwards.

Ctrl-W

As, always with Linux, there's more than one way to do anything :-)






More information about the kubuntu-users mailing list