PingSweeperAndPortScanner.sh

This simple bash shell script will enumarate adapters and its connected networks, perform a ping sweep and then a subsequent, optional tcp connect scan on known common ports.

Specify ports to scan in the accompanying common-tcp-ports.txt file like so:
80 443 22 31 23 3389