Deleting an unusual file

Hi everyone,

I was doing some practising with Unix and accidentally created a file with the name --------------------

Yeah, it was UNINTENTIONALLY. I tried removing it various ways like
rm '--------------'
rm '-.*'
and all other sorts, but Unix keeps detecting that as an option stuff...

Anyone any idea how to remove this file? Thx

rm -- ----*

The initial "--" tells rm to stop treating the arguments as options, and treat them as filenames.

Cheers
ZB

cool. thx :smiley: