Recording Terminal Sessions with the script Command
The classic Unix script command records your terminal sessions to a file—perfect for change logs, incident notes, reproducible runbooks, and support handoffs (as long as you treat the output like sensitive data).