GNU/Linux Command – SCRIPT

script — Record the user’s activities on a terminal.


Script makes a typescript/record of everything printed on your terminal. It is useful for anyone, who need a hard copy record of an interactive session as proof, and the typescript text file can be printed. Press Ctrl+D/exit/logout to Stop the Script Program.

$ script -- Start the recording in a file (Default output file name is typescript). $ script MyFile -- Record the output in MyFile. $ script -a -- Record the output in Appending Mode. $ cat typescript -- Show the recorded content.
Read: man script

Leave a Reply

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

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

Google photo

You are commenting using your Google 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 )

Connecting to %s

%d bloggers like this: