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