Found a script to search for port status open/in-use.
But am unsure of what is happening with the execute command.
if [ $? -eq 0 ]
echo "Port accepting connections"
echo " connections not possible"
Does the use of the number 3 have a special meaning?
exec executes files so what is it doing with the 3?
How is that related to /dev/tcp ? Does /dev/tcp require the machine and port ??
Is the dotted quad the local or remote machine address?