Install expect-lite by entering the following commands in the terminal:
sudo apt update sudo apt install expect-lite
Description:
quick and easy command line automation tool
Written in expect, it is designed to directly map an interactive terminal session into an automation script. expect-lite scripts use special character(s) at the beginning of each line to indicate the action. Basic expect-lite scripts can be created by simply cutting and pasting text from a terminal window into a script, and adding '>' '<' characters. No knowledge of expect is required!
Homepage: http://expect-lite.sourceforge.net/
Version: 4.9.0-0ubuntu1
Section: universe/interpreters