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

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -