Terminal Session Recording

rec – records terminal sessions

rec is a command-line utility that records terminal sessions and turns them into reusable workflows.

It captures commands run in supported shells together with contextual information such as working directory, exit code, and timing, then lets you replay sessions with guardrails or export them into portable artifacts such as shell scripts, CI/CD pipelines, Dockerfiles, and Markdown documentation.

This is free and open source software.

Key Features

  • Supports Bash, Zsh, and Fish through native shell hook integration.
  • Stores sessions in crash-safe NDJSON format with automatic recovery support.
  • Provides session management tools including search, diff, rename, tagging, aliases, and statistics.
  • Offers smart parameterization to replace environment-specific values with reusable variables during export.
  • Includes an optional terminal user interface for browsing, replaying, exporting, and deleting sessions.
  • Can import existing shell history and scripts into new recorded sessions.
  • Cross-platform support – runs under Linux, macOS, and Windows.

Website: github.com/zeybek/rec
Support:
Developer: Ahmet Zeybek
License: MIT License

rec in action
Click animation for full size

rec is written in Rust. Learn Rust with our recommended free books and free tutorials.


Related Software

Console Screencasting Tools / Terminal Session Recording
TerminalizerGenerates animated GIF images of your terminal
VHSWwrite terminal GIFs as code for integration testing and demoing
ttydShares your terminal over the web
asciinemaRecord and share terminal sessions
t-recGenerates animated GIF images for the web
aggasciinema gif generator
ffscreencastShell wrapper for ffmpeg that allows fool-proof screen recording
IPBTHigh-tec terminal player
recRecords terminal sessions and turns them into reusable workflows
TermSVGRecord terminal sessions and export them as animated SVG files
termrecSet of tools for recording and replaying tty sessions
screencastInterface to record a X11 desktop
scriptThe granddaddy of terminal recorders

Read our verdict in the software roundup.


Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted