How to delete files starting with "-"?

Timour Ezeev timour at caelifer.org
Wed Sep 6 08:21:02 PDT 2006


On Thu, 7 Sep 2006, Petr Janda wrote:

Is it possible? How? Ive been trying to figure out.

Yet another way is to specified either full or relative path of the file, i.e:

rm /home/user/-badfile

  or

rm ./-badfile

BR,

- Timour





More information about the Users mailing list