That is the whole process of automating TELNET, with just three easy steps in an uncomplicated script. After getting used to it, you can customize them to your needs in automating tasks to manage network switches, time clocks or remote system control via TELNET.