I need a very simple bash script to help me determine when a new device is on the network using a range of IPs.
-set range of IPs in script or at command line when calling script
ire: 192.168.45.1-20 or 192.168.45.1-192.168.45.20 - Meaning the range would be 192.168.45.1 to 20
-nmap each IP and display ONLY those who respond
-show responding IP and show open ports with one space between each
Should be a pretty simple one to someone, but not to me :(