터미널 세션을 녹음하는 방법은 무엇입니까?

터미널 세션을 녹음하는 방법은 무엇입니까?

Putty 세션에서는 세션을 텍스트 파일로 기록할 수 있습니다. 마찬가지로 Ubuntu 터미널 세션을 텍스트 파일에 기록하고 싶습니다.

가능합니까? 그렇다면 어떻게 해야 합니까?

답변1

확인하다"스크립트".

에서"인간 대본":

script  makes  a  typescript  of everything printed on your terminal.
It is useful for students who need a hardcopy record of an interactive
session as proof  of  an  assignment, as the typescript file can be
printed out later with lpr(1).

If  the  argument file is given, script saves all dialogue in file.
If no file name is given, the typescript is saved in the file typescript.

관련 정보