emails=('test@abc.com' 'test@xyz.org') passwords=('admin123' 'passwd1!') for (( i = 0; i < ${#emails[@]}; ++i )); do echo "Email: ${emails[i]}" echo "Password: ${passwords[i]}" done