2019-04-16 01:54:52 +01:00
|
|
|
# script
|
|
|
|
|
|
|
|
> Record all terminal output to file.
|
2022-03-21 17:07:48 +00:00
|
|
|
> More information: <https://manned.org/script>.
|
2019-04-16 01:54:52 +01:00
|
|
|
|
|
|
|
- Record a new session to a file named `typescript` in the current directory:
|
|
|
|
|
|
|
|
`script`
|
|
|
|
|
|
|
|
- Record a new session to a custom filepath:
|
|
|
|
|
|
|
|
`script {{path/to/session.out}}`
|
|
|
|
|
|
|
|
- Record a new session, appending to an existing file:
|
|
|
|
|
|
|
|
`script -a {{path/to/session.out}}`
|
|
|
|
|
|
|
|
- Record timing information (data is outputted to the standard error):
|
|
|
|
|
|
|
|
`script -t 2> {{path/to/timingfile}}`
|