11

By mistake I created a file named --help trying to get help about the command >

> --help

If i try to delete the file like this:

rm --help

the help about the command rm is shown.

Rodrick
  • 213

1 Answers1

15

almost last output lines of rm --help:

   To remove a file whose name starts with a '-', for example '-foo', use
   one of these commands:

          rm -- -foo

          rm ./-foo
Ipor Sircer
  • 14,546
  • 1
  • 27
  • 39