I am doing a nmap bash script, and I am just wondering if there is any possibility to use array list for my port commands. For example:
port=[23,45,75,65] for i in 21 do nmap -p x,y 192.168.1.$i done
e.g. At the x,y
place I want to use the number 23,45