I have a text file, it contains a single word on each line.
I need a loop in bash to read each line, then perform a command each time it reads a line, using the inpu
while read line do nikto -Tuning x 1 6 -h $line -Format html -o NiktoSubdomainScans.html done < testfile.txt
Tried this to automate nikto scan of list of domains after changing from cat approach. Still just read the first line and ignored everything else.