script
Record all terminal output to a typescript file. More information: https://manned.org/script.
- Record a new session to a file named
typescriptin the current directory:
script
- Stop recording:
exit
- Record a new session to a custom filepath:
script
- Append to an existing file:
script
- Record timing information (data is outputted to
stderr):
script 2>
- Write out data as soon as it happens:
script
- Execute quietly without start and done messages:
script
- Display help:
script
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
