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

jquery - How do you format the date used in the popover widget title of FullCalendar? -

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -