script: add page (#2485)

This commit is contained in:
Benjamin Nichols-Farquhar
2018-10-28 12:53:06 -04:00
committed by Starbeamrainbowlabs
parent c049a605b5
commit e72e0204fe

23
pages/common/script.md Normal file
View File

@@ -0,0 +1,23 @@
# 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}}`