[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: HOWTO remove a previous wildcard file list?



on Sun, Apr 22, 2001 at 11:26:36PM -0400, Walt Mankowski (waltman@netaxs.com) wrote:
> On Sun, Apr 22, 2001 at 11:09:23PM -0400, Mark Hurley wrote:
> > Thank you Walt!
> 
> You're welcome.  :-)
> 
> > I can't believe I didn't find that! In case anyone else wants to view
> > more info on "history expansion" with bash...
> > 
> >     http://www.kashpureff.org/nic/linux/texinfo/bash_6.html
> > 
> > or more simply
> > 
> >     man bash
> > 
> > Doh!  ;)
> 
> Well, it's not the easiest thing in the world to find on the bash man
> page.  I first learned about this trick in the O'Reilly book Unix
> Power Tools.  Even knowing that it's possible, I always forget the
> sequence and end up hunting through the man page for several minutes
> before I find it again.

Jerry Peek is a living god.  I've seen his shell presentation through
SVLUG, and after fourteen years of Unix use (including a good six years
of solid GNU/Linux and Unix), I picked up some tips.

An alternative solution using history:

    $ ls A*.pdf
    $ ^ls^rm

Larry's homepage includes links to several presentations with some good
shell tips.

  http://www.jpeek.com/

Cheers.

-- 
Karsten M. Self <kmself@ix.netcom.com>    http://kmself.home.netcom.com/
 What part of "Gestalt" don't you understand?       There is no K5 cabal
  http://gestalt-system.sourceforge.net/         http://www.kuro5hin.org

Attachment: pgp4VZHHAe4Gr.pgp
Description: PGP signature


Reply to: