Here are some options
a) rm -f
b) rm "-f" (double quotes)
c) rm '-f' (single quotes)
d) all of the above
e) none of the above
Here are some options
a) rm -f
b) rm "-f" (double quotes)
c) rm '-f' (single quotes)
d) all of the above
e) none of the above
There are two options. You can use --
to tell rm
that there are no more options. The second way is to specify the relative or absolute path to the file.
Here are some examples:
rm -- -f
rm ./-f
rm /path/to/-f