Is there any way to remove a file named "-r" using "rm", because "rm" assumes that file is one of it's options if I type "rm -r" and then throws an error message?
I also tried "rm -r -r" and that didn't work either.
rm ./-r ���
Thanks very much, that's fixed it.
Also -- can be used,
rm -- -r
Thanks
Nagarajan Ganesan.