Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
riffraff
· 1y ago · 0 comments
When I was young and incompetent mc was the only way I knew to remove files starting with a dash :)
Comments
[–]
fuzztester
1y ago
On Unixen? Use:
$ rm -- -filename
where -filename is the file starting with a dash, and -- means "end of the command-line options".
[–]
muppetman
1y ago
Hahah same!!!!