I need to call the $i variable before the $user variable to that the combination of both are called as one variable, if that makes sense. Thank you for any help.
declare -i numusers
echo "How many (non-admin) users? ex: 01 02 10"
read numusers
i=0
while [[ $i -lt $numusers ]] ; do
echo "enter name of user$i - "
read user$i
echo "user$i recored as - $user$i - "
(( i += 1 ))
done