문서 보기이전 판역링크맨 위로 이 문서는 읽기 전용입니다. 원본을 볼 수는 있지만 바꿀 수는 없습니다. 문제가 있다고 생각하면 관리자에게 문의하세요. {{tag>[linux script]}} ====== script ====== > 실행하는 출력을 파일로 저장.(color 적용) ===== CLI ===== <code shell> script -q output.txt cat output.txt # 색상정보 포함 </code> * ''<color #c3c3c3>**script**</color> <color #22b14c>[options]</color> <color #7092be>[file]</color>'' * ''<color #22b14c>**--quite**</color>'', ''<color #22b14c>**-q**</color>'' 조용히 실행 ==== HELP ==== ++++ script --help | <code shell> ❯ script --help Usage: script [options] [file] Make a typescript of a terminal session. Options: -I, --log-in <file> log stdin to file -O, --log-out <file> log stdout to file (default) -B, --log-io <file> log stdin and stdout to file -T, --log-timing <file> log timing information to file -t[<file>], --timing[=<file>] deprecated alias to -T (default file is stderr) -m, --logging-format <name> force to 'classic' or 'advanced' format -a, --append append to the log file -c, --command <command> run command rather than interactive shell -e, --return return exit code of the child process -f, --flush run flush after each write --force use output file even when it is a link -E, --echo <when> echo input in session (auto, always or never) -o, --output-limit <size> terminate if output files exceed size -q, --quiet be quiet -h, --help display this help -V, --version display version For more details see script(1). </code> ++++ script.txt 마지막으로 수정됨: 2026/03/24 08:25저자 writer