[How To] Record screen output to a file in Unix

[Unix] Record screen output in Unix

It is sometimes very useful to record all your screen activity to an output file. Especially when the activity is very long, consisting of multiple pages. It is also useful for students who need a hardcopy record of an interactive session as proof of an assignment.
One can stop the recording by pressing Cntrl+D.

Usage: We can manually specify the output filename where all the screen activity is directed, in case the filename is not provided, the screen activity is by default directed to a filename typescript in the current directory.

Example: A simple script command is illustrated in below screenshot. Here, we manually specify the file as logfile. 

Example of Script Command - Vishal Lambe

No comments :

Post a Comment