LinuxCommandLibrary

scriptlive

TLDR

Execute a typescript in real-time

$ scriptlive path/to/timing_file path/to/typescript
copy
Execute at double speed
$ scriptlive path/to/timing_file path/to/typescript --divisor 2
copy
Execute typescript from stdin log
$ scriptlive --log-in path/to/stdin_log path/to/typescript
copy
Execute with maximum delay between commands
$ scriptlive path/to/timing_file path/to/typescript --maxdelay 2
copy

SYNOPSIS

scriptlive [options] timingfile typescript_

DESCRIPTION

scriptlive executes a terminal session recorded by the script command. Unlike scriptreplay which only displays output, scriptlive actually re-executes the commands.
This is useful for demonstrations and recreating terminal sessions.

PARAMETERS

--divisor n

Speed multiplier (2 = double speed)
--log-in file
Use stdin log file for input
--maxdelay seconds
Maximum wait between commands

CAVEATS

Commands are actually executed, which may have side effects. Use with caution on recordings from untrusted sources.

HISTORY

Part of util-linux package, extending script's recording capabilities with live execution.

SEE ALSO

Copied to clipboard