TTYPLAY(1)
β¨ NAME β¨
ttyplay β bestie, it's the player for tty sessions that got recorded by ttyrec π (this page lives in the General Commands Manual, section 1, just so you know where you are π)
πΈ SYNOPSIS πΈ
ttyplay [-s SPEED] [-n] [-p] file
π¦ DESCRIPTION π¦
ttyplay plays the tty session sitting inside file, and that file is one that got recorded earlier by ttyrec(1). Like, it's the rewind button on somebody's whole terminal existence π
When the -p option is in the mix, ttyplay outputs the file as it grows. Which means β and this is the iconic part β you can literally watch the "live" shell session that another user is running right now. Main character energy, but it's their shell π«Ά
Now here's the fun bit: if you hit any key during playback, it jumps right to the next character that got typed. Genuinely so handy when you're examining a session where the user just... sat at a prompt for a million years π
And on top of that, there are some special keys defined, and they are lowkey the best part:
+orfβ double the speed of playback. zoom zoom π-orsβ halve the speed of playback. slow it down, we're savouring π0β set playback speed to0, pausing playback. full freeze, nobody move π1β set playback to speed1.0again. back to normal, we're so back πqβ quit. bye bestie π
π OPTIONS π
-sSPEEDβ multiply the playing speed bySPEED(default is1). yes, the default is literally just1, no cap β-nβ no wait mode. Ignore the timing information infile. it's giving "I don't have time for your pauses" π-pβ peek another person's tty session. respectfully π
π SEE ALSO π
script(1), ttyrec(1), ttytime(1)
quick vibe check:-pis you watching someone else's live shell, and-nthrows the timing data straight in the bin. both are choices and both are iconic in their own way β¨
and that's the whole page, fr fr β brought to you by the General Commands Manual, filed under TTYPLAY(1) π go record something with ttyrec and play it back, you deserve it π§
π¦ where this page comes from
- debian trixie: ttyrec 1.1.7.1-1 Β· BSD-3-clause-modified
- ubuntu questing: ttyrec 1.1.7.1-2
- ubuntu resolute: ttyrec 1.1.7.1-2build1 Β· BSD-3-clause-modified
- ubuntu stonking: ttyrec 1.1.7.1-2build1 Β· BSD-3-clause-modified
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms