Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
How do I delete a file whose name begins with “-” (hyphen a.k.a. dash or minus)?

I'm using linux I have some files with file names like


I want to delete them using shell "rm" but it doesn't work

are there anyways to deal with such file names? thanks!

share|improve this question

marked as duplicate by manatwork, jw013, uther, mattdm Dec 21 '12 at 15:53

This question was marked as an exact duplicate of an existing question.

rm -- -0fdlfld
rm -- -xfifd

Should do it.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.