SCRIPTLIVE(1)

๐Ÿ’– SCRIPTLIVE(1) โ€” bestie edition ๐Ÿ’–

okay so. manual name is scriptlive, section 1, and it is literally about re-running session typescripts with timing info. buckle up, this one's a bop ๐ŸŽ€


โœจ NAME โœจ

scriptlive โ€” re-run session typescripts, using timing information


๐ŸŒธ SYNOPSIS ๐ŸŒธ

scriptlive [options] timingfile typescript

๐Ÿฆ‹ DESCRIPTION ๐Ÿฆ‹

So here's the vibe: this program re-runs a typescript, using stdin typescript and timing information to make sure the input happens in the exact same rhythm as it originally appeared when the script was recorded. it's giving "playback but make it authentic" ๐Ÿ’…

The session runs in a newly created pseudoterminal with your $SHELL (or it defaults to /bin/bash if that's not a thing).

โš ๏ธ bestie be careful!! the typescript may contain arbitrary commands. like, anything. it is genuinely recommended that you use "scriptreplay --stream in --log-in typescript" (or with --log-io instead of --log-in) to verify the typescript before it is executed with scriptlive. do the vibe check first, fr fr ๐Ÿ™ˆ

The timing information is what script(1) outputs to the file specified by --log-timing. The typescript has to contain stdin information, and is what script(1) outputs to the file specified by --log-in or --log-io. iykyk โœจ


๐Ÿ‘‘ OPTIONS ๐Ÿ‘‘

  • -c, --command command โ€” execute command instead of an interactive shell. The command gets passed as an argument to the -c option of the execution shell. The shell used is either $SHELL, the shell defined in the user's passwd(5) database, or _PATH_BSHELL โ€” selected in respective order, no cap.
  • -I, --log-in file โ€” file containing script's terminal input. ๐Ÿ“ฅ
  • -B, --log-io file โ€” file containing script's terminal output and input. both!! ๐Ÿค
  • -E, --echo when โ€” this one controls the ECHO flag for the slave end of the session's pseudoterminal. The supported modes are always, never, and auto. The default is auto โ€” in which case ECHO is enabled. This default behavior is subject to change. ๐Ÿ‘€
  • -t, --timing file โ€” file containing script's timing output. This option replaces the timingfile positional argument. bye positional arg, hello flag ๐Ÿซถ
  • -T, --log-timing file โ€” an alias for -t; maintained for compatibility with the script(1) command-line options. legacy but cute ๐Ÿ’œ
  • -d, --divisor number โ€” speed up the replay by displaying it this many times. The argument is a floating-point number. It's called divisor because it divides the timings by this factor. This option overrides old-style arguments. math girlies rise ๐Ÿ”ฅ
  • -m, --maxdelay number โ€” set the maximum delay between updates to number of seconds. The argument is a floating-point number. This can be used to avoid long pauses in the typescript replay. no more awkward silences ๐Ÿ˜ญ
  • -h, --help โ€” display help text and exit.
  • -V, --version โ€” display version and exit.

๐ŸŽ€ EXAMPLES ๐ŸŽ€

okay watch this, it's iconic:

% script --log-timing file.tm --log-in script.in
Script started, file is script.out
% date
<etc, etc>
% exit
Script done, file is script.out
% scriptlive --log-timing file.tm --log-in script.in

๐ŸŒˆ AUTHORS ๐ŸŒˆ

Karel Zak <kzak@redhat.com> โ€” king behavior, honestly ๐Ÿ‘‘


Copyright ยฉ 2019 Karel Zak

This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Released under the GNU General Public License version 2 or later. slay ๐Ÿ“œ


โญ SEE ALSO โญ

script(1), scriptreplay(1)


๐Ÿ› REPORTING BUGS ๐Ÿ›

For bug reports, use the issue tracker <https://github.com/util-linux/util-linux/issues>. tell them everything, bestie ๐Ÿ’Œ


๐ŸŒŸ AVAILABILITY ๐ŸŒŸ

The scriptlive command is part of the util-linux package which can be downloaded from Linux Kernel Archive <https://www.kernel.org/pub/linux/utils/util-linux/>.


and that's the whole page, periodt ๐Ÿ’… this was util-linux 2.42.4, dated 2026-09-21, and yes it's SCRIPTLIVE(1) โ€” go forth and replay responsibly, my love ๐Ÿฆ‹โœจ

๐Ÿ“ฆ where this page comes from
  • arch rolling: util-linux 2.42.4-1 ยท BSD-2-Clause AND BSD-3-Clause AND BSD-4-Clause-UC AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-or-later AND ISC AND LGPL-2.1-or-later AND LicenseRef-PublicDomain
  • ๐Ÿ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms