Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
riffraff
17 days ago
|
parent
|
context
|
favorite
| on:
GNU Midnight Commander
When I was young and incompetent mc was the only way I knew to remove files starting with a dash :)
fuzztester
17 days ago
|
next
[–]
On Unixen? Use:
$ rm -- -filename
where -filename is the file starting with a dash, and -- means "end of the command-line options".
muppetman
17 days ago
|
prev
[–]
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: