bash syntax error near unexpected token `newline' code example
Example: bash: syntax error near unexpected token 'do'
My solution was
sudo nmap -p 80 -iL textnameip.txt -T4 -v
My solution was
sudo nmap -p 80 -iL textnameip.txt -T4 -v