Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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 has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1 Answer 1

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.