How do I deal with a filename that starts with the hyphen (-) character? April 1, 2023 by Tarik You can refer to it either using ./-filename or some command will allow you to put it after double dash: rm -- -filename