1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 14:22:07 +02:00
tldr/pages/common/script.md
2021-10-09 23:00:25 -03:00

24 lines
394 B
Markdown

# script
> Make a typescript file of a terminal session.
> More information: <https://manned.org/script>.
- 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}}`