GNU/Linux Command – TTYREC and TTYPLAY

ttyrec — Record the TTY session operation
ttyplay — Play the recorded TTY session

Summary:
TTYRec will record the TTY Operation with timing informations. It can record the vi, emacs, lynx operations also. The ‘script’ command will do the same with-out timing details. The timing information will help to replay the same operations, using TTYPlay command, on the tty.

Example:

$ ttyrec rec.tty -- Start recording furture TTY operations.
  To stop the recording, press Ctrl+D and exit.
$ ttyrec -a rec.tty -- Same as above. Instead of over-writing,
  it will append info in the file.
$ ttyplay rec.tty -- Play the recorded sequence.
$ ttyplay -s 2 rec.tty -- Play it in double speed. 

Read: man ttyrec and man ttyplay

Advertisements
Tagged with: ,
Posted in Uncategorized

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: