From 5d78160d431956c8e5904739b07aa820378efba6 Mon Sep 17 00:00:00 2001 From: lbonanomi <5369016+lbonanomi@users.noreply.github.com> Date: Sat, 20 Apr 2019 10:48:57 -0400 Subject: [PATCH] scriptreplay: add page (#2928) --- pages/linux/scriptreplay.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 pages/linux/scriptreplay.md diff --git a/pages/linux/scriptreplay.md b/pages/linux/scriptreplay.md new file mode 100644 index 0000000000..001a1f569a --- /dev/null +++ b/pages/linux/scriptreplay.md @@ -0,0 +1,15 @@ +# scriptreplay + +> Replay a typescript created by the `script` command to the standard output. + +- Replay a typescript at the speed it was recorded: + +`scriptreplay {{path/to/timing_file}} {{path/to/typescript}}` + +- Replay a typescript at double the original speed: + +`scriptreplay {{path/to/timingfile}} {{path/to/typescript}} 2` + +- Replay a typescript at half the original speed: + +`scriptreplay {{path/to/timingfile}} {{path/to/typescript}} 0.5`