Skip to content

Commit 02eae30

Browse files
sapbotgitManagor
andauthored
autoexpect: add page (#19285)
Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>
1 parent 3ac2a18 commit 02eae30

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

pages/linux/autoexpect.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# autoexpect
2+
3+
> Generate a script from watching a session.
4+
> More information: <https://manned.org/autoexpect>.
5+
6+
- Spawn a shell and generate a script from it:
7+
8+
`autoexpect`
9+
10+
- Run a command and generate a script from it:
11+
12+
`autoexpect {{command}}`
13+
14+
- Run a command, generate a script, and save the script to a specified file:
15+
16+
`autoexpect -f {{path/to/file}} {{command}}`

0 commit comments

Comments
 (0)