mirror of https://github.com/CrimsonTome/tldr.git
24 lines
345 B
Markdown
24 lines
345 B
Markdown
# script
|
|
|
|
> Make a typescript file of a terminal session.
|
|
|
|
- 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}}`
|