I manage a running program by sending a command-character through telnet. I usually do it step by step:
telnet localhost 12345
command-character
ctrl+]
quit
Is it possible that I send the command-character from bash directly, or if not, write a bash script to do that?