Update cheatsheets

This commit is contained in:
ivuorinen
2025-11-14 00:20:50 +00:00
parent 366b13ffac
commit 2f0bb2e110
24 changed files with 260 additions and 33 deletions

21
tldr/linux/autoexpect Normal file
View File

@@ -0,0 +1,21 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# 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}}`