master
Raw Download raw file

date: “2016-12-01” draft: false title: “script” tag: [“cli”, “commands”] category: “unix”


Summary

OS Default Available Online Man
Linux Y script
Solaris Y script
BSD Y script
MacOS Y script
Basics Command
Version script --version
Usage info script -h
Man man script

Usage

Record all shell data to a file, including prompts, inputs, commands, and output.

Examples

command description
script <typescript> start script log
script -a <typescript> start script log and append it to the log file (don’t overwrite)
exit stop recording

Reference Materials

See Also