How to remove a file with a dash as first character?

Extracted from Web submission
Tip provided by Wowix
If you accidentally created a file with a - in the beginning then you want to
remove it, you have to do :


# rm ./-thefile

Follow-up :
| Previous | Next | Index of category | Main Index | Submit |


Appears in section(s) : shell
Tip recorded : 16-05-1999 21:17:53
HTML page last changed : 27-07-1999 20:09:22