[SunHELP] removing a file starting with -

Jim Pennino jimp at specsol.com
Mon Oct 14 17:32:29 CDT 2002


On Mon, Oct 14, 2002 at 03:20:15PM -0700, murali at epiphany.com wrote:
> Gurus,
> 
> How can I delete a file named -pdL using rm command?
> 
> Thanks.
> -Murali
> _______________________________________________
> SunHELP maillist  -  SunHELP at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/sunhelp

Isn't this in a FAQ?

Anyway, a couple of ways:

rm -- -pdL

Most rm support this.

Then there's:

rm -i ?pdL

-i just in case there is something other than just -pdL there.

-- 
Jim Pennino



More information about the SunHELP mailing list