[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

bash array



Hello

I have the user list and the password list. I shot them with BASH. I
want to give passwords to the usernames in these separate files in
order.

File names:
Users.list
Passwords.list

In a loop, I have to not throw them into users of these passwords. I
did this for it, but it did not work.

#!bin/bash
passwords = $ (cat passwords.list)
for i in $ (cat passwordlist); do my program $ i $passwords; done


How do I make an Array? Or how can I solve it?


Reply to: