Linux command
ttyplay 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Play a recorded session
ttyplay [recording.tty]
Play at double speed
ttyplay -s [2] [recording.tty]
Play at half speed
ttyplay -s [0.5] [recording.tty]
Play without timing delays
ttyplay -n [recording.tty]
Peek at a recording
ttyplay -p [/path/to/recording.tty]
说明
ttyplay replays terminal sessions recorded by ttyrec. It reproduces the exact output with original timing, showing commands, output, and user interactions as they occurred during recording. The player preserves timing information with microsecond accuracy, making it useful for demonstrations, tutorials, and sharing terminal workflows. Speed controls allow faster review or slower examination of complex sequences. Peek mode enables live viewing of ongoing recordings, functioning like a read-only terminal sharing system. This is useful for monitoring or demonstrating terminal sessions in real time.
参数
- -s _speed_
- Multiply playback speed by factor (default 1).
- -n
- No-wait mode; ignore timing information.
- -p
- Peek mode; follow the recording file as it grows, letting a viewer watch a ttyrec session that is still being recorded.
FAQ
What is the ttyplay command used for?
ttyplay replays terminal sessions recorded by ttyrec. It reproduces the exact output with original timing, showing commands, output, and user interactions as they occurred during recording. The player preserves timing information with microsecond accuracy, making it useful for demonstrations, tutorials, and sharing terminal workflows. Speed controls allow faster review or slower examination of complex sequences. Peek mode enables live viewing of ongoing recordings, functioning like a read-only terminal sharing system. This is useful for monitoring or demonstrating terminal sessions in real time.
How do I run a basic ttyplay example?
Run `ttyplay [recording.tty]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -s _speed_ do in ttyplay?
Multiply playback speed by factor (default 1).