bash - Telnet - Connect and send message in one line -


i'm looking one-line command connect telnet server (no authentication needed, accept connection) , send text server after connection.

if not possible, possible write script same thing?

sounds can use netcat on telnet port.

an example go so:

echo -n 'some string telnet' | nc <server> 23 

Comments

Popular posts from this blog

python - Installing PyDev in eclipse is failed -

PHP OOP-based login system -

c# - Nested Internal Class with Readonly Hashtable throws Null ref exception.. on assignment -