w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
I have to login to telnet using shell script, when i am logging directly, it is asking to press Ctrl c, how will i do this through shell script?

You could try using "expect" in your script to set up the connection - see here for how to do that. Once you have the connection, you can use "send 03" as per this article to send the Control-C





© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.