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