How to delete a file named -something with rm [duplicate]

have a try withsudo rm ./-19-5-20674. or with sudo rm -- -19-5-20674.

your sudo reads the filename due to it's leading dash as an optional parameter / command option. most shells understand a double dash to signal end of command options. i circumvent this with a relative path as shown.