This question already has an answer here:
While using grep with
-oG flag I accidentally create a file named
-rw-rw-r-- 1 username username 334 Feb 10 14:29 -v
Now I cannot figure out how to get rid of it.
rm -v rm "-v" rm '-v' rm -f "-v" rm \-v
This is on a server so I only have the command line. How do I remove this file?