tldr/pages/common/script.md

25 lines
394 B
Markdown
Raw Normal View History

2018-10-28 16:53:06 +00:00
# script
> Make a typescript file of a terminal session.
> More information: <https://manned.org/script>.
2018-10-28 16:53:06 +00:00
- Start recording in file named "typescript":
`script`
- Stop recording:
`exit`
- Start recording in a given file:
`script {{logfile.log}}`
- Append to an existing file:
`script -a {{logfile.log}}`
- Execute quietly without start and done messages:
`script -q {{logfile.log}}`