Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions pages/linux/autoexpect.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# autoexpect

> Generate a script from watching a session.
> More information: <https://manned.org/autoexpect>.

- Spawn a shell and generate a script from it:

`autoexpect`

- Run a command and generate a script from it:

`autoexpect {{command}}`

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

`autoexpect -f {{path/to/file}} {{command}}`