script 开始录制 script -t 2>timing.log -a output.session type commands; exit 结束录制 scriptreplay scriptreplay timing.log output.session 开始回放