mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-09 10:46:25 +00:00
Update cheatsheets
This commit is contained in:
29
script
Normal file
29
script
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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}}`
|
||||
Reference in New Issue
Block a user