script

Record a terminal session

low risk

interactive breakdown — edit the command and press Explain
$ 
⚠ Risks & cautions
What it does

Saves a transcript. See the flags and examples below, and run `man script` for the full reference.

Examples
script -a session.logAppend to a log · explain & risk-check →
Related
tmux
Open the full explainer →More in System & Processes

Reference text is hand-written and may be incomplete — check man script for your version. Test destructive commands on a non-production system first.