[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 10:32:33PM -0400, Walt Mankowski wrote:
> 
> Assuming you're running bash, you probably want to use !* :
> 
> 	 ls A*.pdf
> 	 rm !*

Thank you Walt!

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!  ;)

Mark



Reply to: