sebthesaviour sebthesaviour - 3 months ago 25
Bash Question

How to create a file with its name starting with dash in Linux? (ex "-file")

How can I create a file named "-file" using command line in Linux?

Answer

specify a path in front of it, e.g. ./-file