HakTip

Hosted by Darren Kitchen and Shannon Morse.

Whether you're a beginner or a pro, HakTip is essential viewing for current and aspiring hackers, computer enthusiasts, and IT professionals. With a how-to approach to all things Information Technology, HakTip breaks down the core concepts, tools, and techniques of Linux, Wireless Networks, Systems... Read More

Record Terminal Sessions with ttyrec

Friday, April 27th, 2012 – running time 06:19

Need a lightweight screen recorder for your Linux terminal sessions? Darren checks out ttyrec and ttyplay, this time on HakTip.

When it comes to screen recording in Linux, I prefer ffmpeg for its ability to grab x11 sessions. That said, the files it produces involve a processor-memory trade-off. Want a small file? That'll cost you in CPU. Don't want to take a CPU hit? That'll cost you in memory.

But what if you simply need to record a terminal session? For that we're using ttyrec and ttyplay, a set of tools that record terminal sessions in millisecond precision, capturing the standard output of the command line as well as text based "graphical user interfaces" such as vi, emacs, nano, hell even Kismet!

Install "ttyrec" from your favorite repo then issue ttyrec filename to record. When finished issue exit and your file is ready to go. You should notice that the file size is tremendously small in comparison to a video encoded with xvid or ogg.

Playback is as simple as issuing ttyplay filename. Playback speed can be increased and decreased with the + and - keys.

Got a tip to send by? tips@hak5.org.

Connect with HakTip

About the Show

Details
Show Title:
HakTip
Description:
Whether you're a beginner or a pro, HakTip is essential viewing for current and aspiring hackers, computer enthusiasts, and IT professionals. With a how-to approach to all things Information Technology, HakTip breaks down the core concepts, tools, and techniques of Linux, Wireless Networks, Systems Administration, and more
Categories:
How-To & DIY, Technology & Gadgets
Launch Date:
May 23, 2011
Episodes: