commands.sh

autoexpect

linux

Generate a script from watching a session.

More info →

Examples (3)

Spawn a shell and generate a script from it

Run a command and generate a script from it

Run a command, generate a script, and save the script to a specified file

autoexpect -f path/to/file command
made by @shridhargupta | data from tldr-pages