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-ioinstead of--log-in) to verify the typescript before it is executed withscriptlive. 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,--commandcommand โ execute command instead of an interactive shell. The command gets passed as an argument to the-coption of the execution shell. The shell used is either$SHELL, the shell defined in the user'spasswd(5)database, or_PATH_BSHELLโ selected in respective order, no cap.-I,--log-infile โ file containing script's terminal input. ๐ฅ-B,--log-iofile โ file containing script's terminal output and input. both!! ๐ค-E,--echowhen โ this one controls theECHOflag for the slave end of the session's pseudoterminal. The supported modes arealways,never, andauto. The default isautoโ in which caseECHOis enabled. This default behavior is subject to change. ๐-t,--timingfile โ file containing script's timing output. This option replaces the timingfile positional argument. bye positional arg, hello flag ๐ซถ-T,--log-timingfile โ an alias for-t; maintained for compatibility with thescript(1)command-line options. legacy but cute ๐-d,--divisornumber โ 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,--maxdelaynumber โ 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 ๐
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 โญ
๐ 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