title: Override a variable in a Bash script from the command line
body: <p>How do you override a variable in your Bash script from the command line?</p>
  
  <p>I know how to pass variables in, but I just want something like <code>./myscript.sh -Dvar=val</code>.</p>