mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-09 05:44:23 +00:00
1009 B
1009 B
script
Make a typescript file (a.k.a. log a.k.a. recording) of a terminal session.
Table of contents
TL;DR
# Start recording.
# Defaults to a file named "typescript".
script
script 'file.log'
# Stop recording.
exit
# Append to an existing file.
script -a 'file.log'
# Execute quietly.
# Avoids 'start' and 'done' messages.
script -q 'file.log'
# Flush output after each write.
script -f
Further readings
Sources
All the references in the further readings section, plus the following: