removing file with special characters
Accidentally a file was created with the name "--some-option", e.g. name starts with two dashes. I can't remove this file from the shell. I tried single and double quotes, escaping leading dashes, but to no avail. All I am getting:
rm: unrecognized option `--some-option'
rm: cannot remove `\\--some-option' No such file or directory
Konqueror removes file without a problem. I tried to search for the answer, but could not find it.