Script,scriptreplay: recording and playback of terminal sessions
You can make command-line teaching video tutorials by recording terminal sessions, or you can share conversations with others.
Start recording until you exit by typing exit
# script-T2 > timing.log-an output.log
# exit
Parameter explanation:
-t: used to import time series data into stderr
2 >: used to redirect stderr to the log file timing.log
-a: stores the information output of the command
Play the video:
# scriptreplay timing.log output.log