INSTALLATION DOCUMENTS BY RAVI

Sunday, April 26, 2020

How to check whether port is open or not in Linux

Syntax:

echo > /dev/tcp/[host]/[port] && echo "Port is open"
echo > /dev/udp/[host]/[port] && echo "Port is open"


Example:

echo > /dev/tcp/172.16.11.45/7091 && echo "Port is open"
















 echo > /dev/tcp/172.16.11.45/7091 && echo "Port is open"

















No comments:

Post a Comment

Perfect order of ODI export and import

  Smart Export / Import is the recommended way to achieve such a migration. This is the easiest way to make sure all the dependencies are ta...