How to create a file with its name starting with a hyphen in Linux? (ex & ldquo; -file & rdquo;)

advertisements

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


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