Forrest logo
tool overview
On this page you find all important commands for the CLI tool scriptreplay. If the command you are looking for is missing please ask our AI.

scriptreplay

Scriptreplay is a command-line tool used in Unix-like operating systems to replay the recorded output of terminal sessions. It allows users to replay and reproduce the exact sequence of actions performed during a previous session. This tool is particularly useful for debugging, as it enables developers to accurately recreate and analyze past sessions. Scriptreplay reads from a timing file, usually generated by the script command, which records the timing information of user inputs and outputs. By providing the timing file to scriptreplay, it replays the session by precisely reproducing the output and timing of each command. Users can also adjust the replay speed and specify a delay between each output. Scriptreplay is commonly used for troubleshooting, testing, and educational purposes in Unix-like environments.

List of commands for scriptreplay:

  • scriptreplay:tldr:5c5c2 scriptreplay: Replay a typescript at double the original speed.
    $ scriptreplay ${path-to-timingfile} ${path-to-typescript} 2
    try on your machine
    explain this command
  • scriptreplay:tldr:77d41 scriptreplay: Replay a typescript at half the original speed.
    $ scriptreplay ${path-to-timingfile} ${path-to-typescript} 0.5
    try on your machine
    explain this command
  • scriptreplay:tldr:bccbc scriptreplay: Replay a typescript at the speed it was recorded.
    $ scriptreplay ${path-to-timing_file} ${path-to-typescript}
    try on your machine
    explain this command
tool overview