I have to take user input till user enters "done" , so I used the while loop.I have added the if line code after the read statement.
Also , I need to have a different count of all three arrays , so kept different variables.
I know I kept on bugging you for small queries , but this script simply won;t work!
I just need to pick up hostnames, usernames and passwords from the user and put some files/folder onto the hosts.
Can anyone give me a script that would work. (I know this is too much of asking...)
Here's the modofied version: