I am writing a script in which, I Telnet from system1 to system2. There from system2 I SSH to system3 which is actually a Embedded Board running Linux. There I run a code which gives me command line interface.
That command line interface is having a set of commands, almost 15 commands. When you type "show" then these commands are displayed in sequence.
In that command line interface if I run the very first (#1) command then it is processed successfully but when I run any other command from that command list then it says "invalid command" .
Why so ????? please help, I am novice in Python
Thanks in advance