LinuxCommandLibrary

scriptreplay

TLDR

Replay a typescript at original speed

$ scriptreplay path/to/timing_file path/to/typescript
copy
Replay at double speed
$ scriptreplay path/to/timing_file path/to/typescript 2
copy
Replay at half speed
$ scriptreplay path/to/timing_file path/to/typescript 0.5
copy

SYNOPSIS

scriptreplay timingfile typescript [divisor_]

DESCRIPTION

scriptreplay replays a terminal session recorded by the script command. It displays the output with the original timing preserved, useful for demonstrations and reviewing sessions.
The timing file contains delay information between each output block, allowing accurate replay.

PARAMETERS

timingfile_

File containing timing information from script
typescript
File containing recorded terminal output
divisor
Speed multiplier (2 = double, 0.5 = half)

CAVEATS

Only displays output; does not execute commands. Requires both timing and typescript files from script recording.

HISTORY

Part of util-linux package, complementing script for terminal session recording and playback.

SEE ALSO

Copied to clipboard