mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-14 03:48:22 +00:00
Update cheatsheets
This commit is contained in:
26
tldr/linux/scriptlive
Normal file
26
tldr/linux/scriptlive
Normal file
@@ -0,0 +1,26 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# scriptlive
|
||||
|
||||
> Execute a typescript created by the `script` command in real-time.
|
||||
> See also: `script`.
|
||||
> More information: <https://manned.org/scriptlive>.
|
||||
|
||||
- Execute a typescript in real-time:
|
||||
|
||||
`scriptlive {{path/to/timing_file}} {{path/to/typescript}}`
|
||||
|
||||
- Execute a typescript at double the original speed:
|
||||
|
||||
`scriptlive {{path/to/timing_file}} {{path/to/typescript}} --divisor 2`
|
||||
|
||||
- Execute a typescript created using `--log-in` option of `script`:
|
||||
|
||||
`scriptlive --log-in {{path/to/stdin_log_file}} {{path/to/typescript}}`
|
||||
|
||||
- Execute a typescript waiting at most 2 seconds between each command:
|
||||
|
||||
`scriptlive {{path/to/timing_file}} {{path/to/typescript}} --maxdelay 2`
|
||||
Reference in New Issue
Block a user