I'm trying to execute telnet command and getting the out put on shell script. But when the port not open or the ip not exist. The command take too much time to give the response. Will it be possible to limit the maximum try time on telnet?telnet host port
telnet command with custom timeout duration
linux;shell script;ksh;telnet