From 2ff0ff8309dde121251a29ab46ca45ee924c3044 Mon Sep 17 00:00:00 2001 From: Alpha <43486986+sudoAlphaX@users.noreply.github.com> Date: Thu, 2 Jan 2025 19:32:58 +0530 Subject: [PATCH] scriptlive: add new command tldr derived from scriptreplay --- pages/linux/scriptlive.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 pages/linux/scriptlive.md diff --git a/pages/linux/scriptlive.md b/pages/linux/scriptlive.md new file mode 100644 index 00000000000000..9ef315d801f6d8 --- /dev/null +++ b/pages/linux/scriptlive.md @@ -0,0 +1,20 @@ +# scriptlive + +> Execute a typescript created by the `script` command in real-time. +> More information: . + +- 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/timingfile}} {{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`