sebthesaviour sebthesaviour - 23 days ago 9
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