title: How to make Bash commands recognize "-" as part of the filename and not an option?
body: <blockquote>
    <p>How to make Bash commands recognize "-" as part of the filename and not an option?</p>
  </blockquote>
  
  <p>I want to hexdump the contents of a file called <code>-9</code> in Bash. Therefore, I use the following command:</p>
  
  <pre><code>hexdump -C \-9
  </code></pre>
  
  <p>Here, I try to escape <code>-</code> like I'd escape a space <code></code>.</p>
  
  <p>But, <code>hexdump</code> gives the following error:</p>
  
  <pre><code>hexdump: invalid option -- '9'
  </code></pre>
  
  <p>I.e., <code>hexdump</code> interprets the filename as an option?</p>