script 명령을 사용하면 이후 사용하면 모든 명령들과 결과들을 캡춰해서
파일에 저장해 줍니다.
캡춰시작 : script <filename>
캡춰끝 : exit or ^D
[root@sunny /]# script Sunny_Server1.txt ==> 시작
...............
작업.............
...............
ctrl+d 누르면 작업 끝이고 이제 저장한 문서를 보자
[root@sunny /]# cat Sunny_Server1.txt
Script started on 2004년 11월 14일 (일) 오후 08시 00분 26초
[root@sunny /]# ls
[root@sunny /]# ps aux
이렇게 저장이 가능하고 나중에 작업한 내용을 편집하면 된다.

Comments List
以