#!/bin/bash for fn in $@; do echo "scanning $fn" nmap -6 -A -T4 --script ssl-cert,http-headers $fn | tee -a "index/$fn.txt" & done