title: Create new file but add number if filename already exists in bash
body: <p>I found similar questions but not in Linux/Bash</p>
  
  <p>I want my script to create a file with a given name (via user input) but add number at the end if filename already exists.</p>
  
  <p>Example:</p>
  
  <pre><code>$ create somefile
  Created "somefile.ext"
  $ create somefile
  Created "somefile-2.ext"
  </code></pre>