Record Terminal Session in Linux

Record Terminal Session in Linux

ttyrec is a tty(terminal) recorder  in unix like operating system & recorded data can be played back with the help of ttyplay command.ttyrec is just a derivative of script command for recording timing information with microsecond accuracy as well. It can record emacs -nw, vi, lynx, or any programs running on tty.

Installation on Ubuntu :

# sudo apt-get install ttyrec

Installation on RHEL 6.X / CentOS 6.X / Fedora

First Download the ttyrec rpm package using wget command  and install using below mentioned yum command.

# wget ftp://ftp.pbone.net/mirror/ftp.turbolinux.com/pub/TurboLinux/stable/tested/Desktop/10/i586/ttyrec-1.0.6-1.i586.rpm

# yum localinstall ttyrec-1.0.6-1.i586.rpm

Now start Recording using ttyrec command :

Open the terminal type the below command and when you want to stop the recording type exit.

# ttyrec

When we run the above command recording of terminal session will start and when you type exit, recording will be stopped and a file name “ttyrecord”  will be created in the current directory.

Protect Single User Mode And More

  • How to protect single user mode (init 1) in Red Hat linux?
  • How to Kernel compile ?
  • Restrict user login based on time and terminal ?
  • How to Manage Write CD Images in Linux?
  • Specify Download Speed / Download Rate Using wget limit-rate
  • Finding total size of files owned by a particular user
  • Finding all large files in the root filesystem

How to protect single user mode (init 1) in Red Hat linux?

Continue reading

Record Terminal Session

Record Terminal Session in Linux

ttyrec is a tty(terminal) recorder  in unix like operating system & recorded data can be played back with the help of ttyplay command.ttyrec is just a derivative of script command for recording timing information with microsecond accuracy as well. It can record emacs -nw, vi, lynx, or any programs running on tty.

Continue reading