How use Linux expect?

Lê Minh

Member
How use Linux expect?
Answer
Then start our script using spawn command. We can use spawn to run any program we want or any other interactive script.
…
Expect Command.

spawn

Starts a script or a program.

expect

Waits for program output.

send

Sends a reply to your program.

interact

Allows you to interact with your program.
 

Tìm kiếm

Back
Top