I need to create a script that creates the number of files a user specifies, using the name and file ext the user specifies. My loop fails, and only one file is created.
#!/bin/bash
#arguements variables
file=$1
ext=$2
numFiles=$3
count=0
#for loop for 5 repetitions
while [ $3 -ge count ]; do
touch ${1}.${2}.${3}
done
echo " "$3" Files where created using the name "$1" and extension "$2" "