HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

scriptlive — Execute a typescript created by the `script` command in real-time. See also: `script`. More informat

Submitted by: @import:tldr-pages··
0
Viewed 0 times
scriptlivethecommandcreatedexecuteclitypescriptscript
linux

Problem

How to use the scriptlive command: Execute a typescript created by the script command in real-time. See also: script. More information: <https://manned.org/scriptlive>.

Solution

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

Code Snippets

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

Context

tldr-pages: linux/scriptlive

Revisions (0)

No revisions yet.