Saturday, September 4, 2010

make typescript of terminal session

Script makes a typescript of everything printed on your terminal.  It is useful for students who need a hardcopy record of an interactive session as proof of an assignment

raja@linux#script filename ( if filename is not mentioned ,typescript is taken as default name )

script session will be started which stores all the data printed on terminal in a file  ..

type exit command to stop script session ..

raja@linux # cat filename

list outs  all the commands and output ...

A good tool to use to examine the students performance .....

command based tool to teach using terminal

At the login prompt

raja@linux # ttyrec sample.tty (name can be any word)

new copy of shell will be started start typing the command ,the ttyrec will record all the keystores and outputs of command and stores as a video file ...

type exit command to stop recording ..

The play back is possible with ...

raja@linux # ttyplay sample.tty

for the above ttyrec package has to be installed ...