Re: Beginners Linux Questions
- From: goarilla <kevin@xxxxxxxxxxxx>
- Date: Sat, 28 Jan 2006 09:37:40 +0000
On Thu, 26 Jan 2006 19:30:39 +0000, Robert Newson wrote:
> H-Man wrote:
>
>> On 25 Jan 2006 14:51:37 -0800, bobrics wrote:
> ...
>
>>>3. In terminal, when I've typed in a line and would like to erase it
>>>completely, what is the shortcut for that? (similar to ESC in DOS)
> ...
>
>> 3) CTRL-W erases the linne before the cursor, CTRL-C just kills the command
>> and starts over at a new prompt.
>
> CTRL-U (^U) erases the whole line regardless of where the cursor is.
>
> CTRL-R (^R) redraws the input line (in case the display has got messed up).
>
> CTRL-D (^D) is an interesting and useful control char:
> if there is no input whatsoever typed (with the cursor next to the
> prompt) it will close down that terminal. However with characters typed
> (next to the prompt), it will bring up a list of all commands (in your
> path) that start with those characters. If a space preceeds the
> characters after which the ^D is pressed, then a list of files that match
> the characters typed (in the relevant [sub]directory will be displayed.
>
> CTRL-I (^I or TAB or ->|) this is similar to ^D except that nothing happens
> if pressed immediately after the prompt (except the terminal bell
> sounding). After characters typed, it acts like ^D in finding files,
> except that it inserts into the input the matching filename found. If
> more than one filename matches the given characters, the common part of
> the filenames is inserted and the terminal bell sounds. If it matches
> only one filename, that name is inserted into the input; if the file is a
> directory (folder in Windows speak) it is followed by a slash (/) ready
> for the next component of the file's path name (if any), otherwise it is
> followed by a space.
>
> Hope you find these terminal control chars useful.
That CTRL-D doesn't work for me; except closing the xterm with no input
.
- References:
- Beginners Linux Questions
- From: bobrics
- Re: Beginners Linux Questions
- From: H-Man
- Re: Beginners Linux Questions
- From: Robert Newson
- Beginners Linux Questions
- Prev by Date: Re: Moving apps to new drive
- Next by Date: America's Army overheating and shutdown
- Previous by thread: Re: Beginners Linux Questions
- Next by thread: Re: Beginners Linux Questions
- Index(es):
Relevant Pages
|