mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-14 08:48:24 +00:00
Update cheatsheets
This commit is contained in:
21
linux/expect
Normal file
21
linux/expect
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# expect
|
||||
|
||||
> Script executor that interacts with other programs that require user input.
|
||||
> More information: <https://manned.org/expect>.
|
||||
|
||||
- Execute an expect script from a file:
|
||||
|
||||
`expect {{path/to/file}}`
|
||||
|
||||
- Execute a specified expect script:
|
||||
|
||||
`expect -c "{{commands}}"`
|
||||
|
||||
- Enter an interactive REPL (use `exit` or Ctrl + D to exit):
|
||||
|
||||
`expect -i`
|
||||
Reference in New Issue
Block a user