expect

Linux Expect Tutorial Example Questions

Linux Expect Tutorial Example Questions Question: I am learning how to use the Linux command – Expect following this tutorial. #!/usr/bin/expect set timeout 20 spawn “./addition.pl” expect “Enter the number1 :” { send “12r” } expect “Enter the number2 :” { send “23r” } interact Can anyone here explain what the command below does. spawn …

Total answers: 2