SCRIPT(1) SCRIPT(1) script - script [options] [file] [-- command [argument...]] script ,,typescript" . () . scriptreplay(1) . 2.35, script . . scriptreplay --summary . --log-out , script . , typescript. --log-in --log-io (. ) . , KiB=1024, MiB=1024*1024, GiB, TiB, PiB, EiB, ZiB YiB (,,iB" , ., ,,K" ,,KiB") KB=1000, MB=1000*1000, GB, TB, PB, EB, ZB YB. -a, --append -, . -c, --command Run the command rather than an interactive shell. This makes it easy for a script to capture the output of a program that behaves differently when its stdout is not a tty. Instead of using option -c, the command may also be specified after a double dash (--). -E, --echo ECHO . always (), never (), auto (). - , ; , ; ( : echo date | script), - . ,,never" , . -e, --return . ,,bash" (. 128 + ). . -f, --flush . : mkfifo foo; script -f foo, cat foo. ; SIGUSR1 . --force typescript . . -B, --log-io . , --log-timing , . -I, --log-in . --log-in . , ( , ). -O, --log-out . typescript --log-out --log-in . --log-in. -T, --log-timing . . ( ). --log-io --log-in --log-out . --logging-format. -m, --logging-format . . , . . . (-) (I - , O - , H - , S - ). , . -o, --output-limit ,,typescript" . script . , . -q, --quiet ( ). -t[], --timing[=] , . --log-timing . -h, --help . -V, --version . SIGUSR1, script . script: , skript- . , . ( ). (-D (sh(1p)), , - -d ( ignoreeof ) C-, csh(1)). , vi(1), . script , . script . script-a . script , . .profile, : if test -t 0 ; then script exit fi script , script . script 3.0BSD-. script , . . script . ( : echo foo | script), , script . . csh(1) ( ), scriptreplay(1), scriptlive(1) , ,,https://github.com/util-linux/util-linux/issues[issue tracker]". script ,,util-linux" . util-linux 2.42.3 2026-09-02 SCRIPT(1)