[dburke at hoth dburke]$ touch -
[dburke at hoth dburke]$ rm ~/-
rm: remove `/home/founders/dburke/-'? y
[dburke at hoth dburke]$
Just give it a full path it seems.
On Tue, 7 Mar 2000, Breathnach, Proinnsias (Dublin) allegedly said:
> Quickie (I hope)
>> how do I rm a file with a filename of - (single minus)
>> rm -
> rm '-'
> and rm "-"
> all fail with a "usage: rm -[rif]" style message
>> Anyone ?
> Pron (who is nearly sorry to see that interesting thread go !)
> Proinnsias Breathnach breatpro at dublin.ml.com>>> --
> Irish Linux Users' Group: ilug at linux.ie>http://www.linux.ie/mailman/listinfo/ilug for (un)subscription information.
> List maintainer: listmaster at linux.ie>
Random Homer Quote......
Just squeeze your rage into a bitter little ball and release it at an
appropriate time. Like that day I hit that referee with a whiskey
bottle. 'Member that?
-- Homer Simpson
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!