How to remove a file beginning with a dash (in Unix like mode) [duplicate]
问题 This question already has answers here : How do I deal with a filename that starts with the hyphen (-) character? (4 answers) Closed 4 years ago . I have accidentally created a file in GitBash (a Unix like environment) with the name - -l (I have absolutely no idea how I managed to do this in the first place :) Johnny (master #) scipy-tentative-numpy-tutorials $ ls -l total 1 -rw-r--r-- 1 Johnny Administ 956 May 7 16:24 - -l -rw-r--r-- 1 Johnny Administ 562 May 7 16:21 README.md I wish to