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