Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

When I was young and incompetent mc was the only way I knew to remove files starting with a dash :)


On Unixen? Use:

  $ rm -- -filename
where -filename is the file starting with a dash, and -- means "end of the command-line options".


Hahah same!!!!




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: