[95867] in RedHat Linux List
Re: completing commands
daemon@ATHENA.MIT.EDU (Eli Goodman)
Wed Oct 21 20:54:57 1998
Date: Wed, 21 Oct 1998 20:55:50 -0400
From: goodman@math3.sci.ccny.cuny.edu (Eli Goodman)
To: redhat-list@redhat.com
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
> > how do i set up linux to finish typing commands for me? in other words:
> > 'tar -xfvz jdk' will become 'tar -xfvz jdk_1.1.6-v5-glibc-x86.tar.gz' if
> > jdk_1.1.6-v5-glibc-x86.tar.gz is the only file name starting with 'jdk'.
>
> In bash the tab key does it.
And how do I set it up to *repeat* the last command (but permit the command
to be changed if I want)? For example, if I typed
ls -l a*
and got too many files, and now I want to modify that to
ls -l ab*
then the simplest way to do it is to repeat the last command, modifying it
slightly before excuting, then execiute it. `!!' is no good, since it
executes it over again.
Jacob E. Goodman
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com http://archive.redhat.com
To unsubscribe: mail redhat-list-request@redhat.com with
"unsubscribe" as the Subject.