LXer: How to automate interactive cli commands with expect
by LXer from LinuxQuestions.org on (#6MKVT)
Published at LXer:
Expect is a free and open source utility we can use to automatically answer to interactive prompts according to scripts which includes expects/sends commands. In this tutorial, we learn how to install expect on the most used Linux distributions, how to use it to automatically answer to interactive prompts, and how to generate expect scripts with autoexpect.
Read More...
Expect is a free and open source utility we can use to automatically answer to interactive prompts according to scripts which includes expects/sends commands. In this tutorial, we learn how to install expect on the most used Linux distributions, how to use it to automatically answer to interactive prompts, and how to generate expect scripts with autoexpect.
Read More...