2014-02-05 2 views
1

내 콘솔에서 복제하고 싶습니다. 나는이 명령을 사용하고 있습니다 : 스크립트 및 Scriptreplay에서 약간의 문제가 있음

[email protected]:~/Desktop$ script -t 2> timing.log -a output.session 

을 한 후 나는 몇 가지 명령을 실행하지만 복제의 순간이 발생

[email protected]:~/Desktop$ scriptreplay time.log record.session 
scriptreplay: unexpected end of file on record.session 

그리고 record.session가 비어 있습니다. 나는 무엇이 잘못되었는지를 모른다!

우분투에 있습니다. 13.04,

감사합니다 !!

답변

1

음, 그냥 출구 명령을 놓쳤습니다.

이 완전한 시퀀스이다

1- 기록 실행 멈추려 기록

[email protected]:~/Desktop$ script -t 2> timing.log -a output.session 

-2-을 시작하는 출구

[email protected]:~/Desktop$ exit 

-3- 다음 명령을 실행하여 전체 녹음 :

[email protected]:~/Desktop$ scriptreplay timing.log output.session 
관련 문제