mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-05 12:45:59 +02:00
script: add page (#2918)
This commit is contained in:
parent
2244c13460
commit
80abec2c14
1 changed files with 19 additions and 0 deletions
19
pages/linux/script.md
Normal file
19
pages/linux/script.md
Normal file
|
@ -0,0 +1,19 @@
|
|||
# script
|
||||
|
||||
> Record all terminal output to file.
|
||||
|
||||
- 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}}`
|
Loading…
Add table
Reference in a new issue