Linux noob, how to delete file

I’m stupid, pls help.

Not a qubes related thing, but maybe something that is funny to read.

i managed to create a file with the name --help and have trouble deleting it now m(

What i tried:

  • rm --help: prints the rm help
  • rm \-\-help: prints the rm help
  • rm \--help: prints the rm help
  • rm "--help": prints the rm help
  • rm "\-\-help": rm: cannot remove '\-\-help': No such file or directory

rm ./--help

does the trick.

1 Like