From a bash script how can I quickly find out whether a port 445 is open/listening on a server.
445
I have tried a couple of options, but I want something q
If you're using iptables try:
iptables -nL
or
iptables -nL | grep 445