help "rm"

if i have a file whose name is "-r"
how to remove it
any idea will be much appreciated

rm -- -r

thanks, it does work.:b:

alternatively u can use

rm ./-r

from the directory it is present

HTH,
PL

try this rm -- -r