[ILUG] Special char filenames
dburke at compsoc.com
Tue Mar 7 14:55:44 GMT 2000
[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
More information about the ILUG