Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #191060

bash array

From Gokan Atmaca <linux.gokan@gmail.com>
Newsgroups linux.debian.user
Subject bash array
Date 2018-01-14 13:50 +0100
Message-ID <v7PTA-3ro-5@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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?

Back to linux.debian.user | Previous | NextNext in thread | Find similar | Unroll thread


Thread

bash array Gokan Atmaca <linux.gokan@gmail.com> - 2018-01-14 13:50 +0100
  Re: bash array <tomas@tuxteam.de> - 2018-01-14 15:10 +0100
  Re: bash array Greg Wooledge <wooledg@eeg.ccf.org> - 2018-01-15 15:50 +0100
    Re: bash array Gokan Atmaca <linux.gokan@gmail.com> - 2018-01-25 13:40 +0100
      Re: bash array Greg Wooledge <wooledg@eeg.ccf.org> - 2018-01-25 14:40 +0100
        Re: bash array Gokan Atmaca <linux.gokan@gmail.com> - 2018-01-25 15:00 +0100

csiph-web