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