title: creating multiple copies of a file in bash with a script
body: <p>I am starting to learn how to use bash shell commands and scripting in Linux.</p>
  
  <p>I want to create a script that will take a source file, and create a chosen number of named copies.</p>
  
  <p>for example, I have the source as testFile, and I choose 15 copies, so it creates testFile1, 2, 3 ... 14, 15 in the same location.</p>
  
  <p>To try and achieve this I have tried to make the following command:</p>
  
  <pre><code>for LABEL in {$X..$Y}; do cp $INPUT $INPUT$LABEL; done
  </code></pre>
  
  <p>However, instead of creating files from X to Y, it makes just one file with (for example) {1..5} appended instead of files 1, 2, 3, 4 and 5</p>
  
  <p>How can I change it so it properly uses the variable as a number for the loop?</p>