DEV Community

Discussion on: Deleting files that start with a hyphen in Bash

Collapse
 
makhauser profile image
mkh

Sure you can, but that is an old instruction, don't even remember where I have found it. Most likely on the Cybercity. What is good in this trick - you can delete the file with any naming issues either it has slashes, dashes or whatever.