O'Reilly logo

Linux and Unix Shell Programming by David Tansley

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

script

Format:

script option file 

Option:

-a Append the output to a file

You can create a complete history of your session by using script. Simply invoke it at the command line. Script will terminate when you exit your session. Script copies what you type and appends it to a file.

					$ script mylogin
				

will start the script session and log everything to the file mylogin.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required