script – Page 2 – POFTUT

Expect Scripting Tutorial With Examples

Expect is a scripting language used to automate interactive shells. For example if we want to automate Cisco devices over a shell by using some expect scripting. Expect scripting generally works on specified strings. Most used expect commands are like below. send to send strings to the process expect wait for the specific string from the process … Read more