I'm having trouble using using commands on files that start with "-" (i.e. -file 1, -file 2). It is giving me invalid option errors.
For example:
cp '-file 1' '-file 2'
However, echo still works.
echo "Hello World" > '-file 2'
How can I make it so that the "-" does not signify that I'm choosing an option?