准备:
script -t 2> timing.log -a output.session
type commands;
...
.
..
exit
回放:
scriptreplay timing.log output.session