#!/bin/bashfile=('leon 01.cap' leon-02.cap nicky-01.cap whoareu-01.cap 8dbb-01.cap)dict=(simple.txt password.txt bir.txt) for i in "${file[@]}"do for j in "${dict[@]}" do echo "aircrack-ng '${i}' -w dict/${j}" …
引号的作用 1 双引号(“”) 1)使用””可引用除字符$(美元符号).`(反引号).\(反斜线)外的任意字符或字符串.双引号不会阻止shell对这三个字符做特殊处理(标示变量名.命令替换.反斜线转义). Eg:name=gezn; echo “User name:$name”//将打印User name :gezn Echo “The date is:`date +date-%d-%m-%Y`”//将打印The date is: 03-05-2009 Echo –e “$USER\t$UID”…