how we can we write expect script for any given program. how a givne program should be analized inorder to decide to make automated using expect?
I have not done a lot of Expect programming. Candidates for Expect are interactive programs like the passwd command. See this link:
thank you ...i go through the site
thank u nail, and also i have another question here:
I tried executing linux oam CLI commands on terminal through telnet. Now i want to automate these commands using expect.
Please can you help on this?
Like I said, I have not done a lot of Expect programming so I am not passing myself off as an expert. If you have specific questions, I will take a shot at answering them.