expect script for random password and random commands
Firstly thank you so much for replying....
actually i am new to expect:
I am able to execute the commands automatically using expect for telnet session.
Now my requirement is:
as of now those commands are all valid one's, which i am seeing on output but
now i want them to automate for all invalid conditions like..
when commands are unexpectedly typed wrong by human manually, it show corresponding error message...so now i want the same effect using expect automatically for all valid commands which i have done it for.
the attachment is what i have written sample code for randomizing passwords ..i tried this to get idea to my actual problem. that's it
please if you again not clear on question: please do ask i will try to elaborate it clearly once again
thank you
|