Re: Beginners Linux Questions



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

.



Relevant Pages

  • Re: File Transfer
    ... although, of course, it will prompt for user name and password, if it ... filename as the source. ... would like to tranfer file/data from the device to a PC on network. ... copy command it works fine. ...
    (microsoft.public.dotnet.framework.compactframework)
  • RE: TransferSpreadsheet saving file
    ... Yes, you are correct, I don't need to prompt for the file name, but I do need ... I tried using .xls in the filename but that didn't work. ... and cannot find anything that is in capitals. ...
    (microsoft.public.access.externaldata)
  • Directory problem
    ... Using the command ... prompt I made a directory \source. ... not report the directory. ... filename, directory name, or volume label syntax is incorrect.") ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Two Lisp Questions
    ... these things prefix arguments, but that only allows numbers, I ... short elisp function to do it and bind it to a key chord? ... should prompt for a filename before invoking the current implementation ...
    (comp.lang.lisp)
  • Re: Automatic file name on saving
    ... The text Word picks up for the filename is the Title property. ... suggesting a filename other than the first text in the doc. ... Word MVP FAQ site: http://word.mvps.org ... How can erase the XXXX.doc file ...
    (microsoft.public.word.application.errors)