1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-10-31 08:17:59 +01:00
tldr/pages/common/script.md
Benjamin Nichols-Farquhar e72e0204fe script: add page (#2485)
2018-10-28 16:53:06 +00:00

23 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}}`