You can use the script command to store everything printed on your terminal window, to start the recording session you shall type the following line into the terminal window:
# script -a <filename>
To end the recording session you shall type the following line:
# exit
You can also use the script command to redirect the recording to another user, to do this you need to find out what pts the destination user is using, type the “w” command:
$ w
20:43:58 up 24 min, 3 users, load average: 0,15, 0,19, 0,27
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
me tty7 :0 20:20 0.00s 45.19s 0.16s x-session-manag
me pts/0 :0.0 20:21 0.00s 0.26s 0.00s script /dev/pts
dest pts/1 :0.0 20:35 8:41m 0.14s 0.14s bash
launch the script command as follows:
# script /dev/pts/1