Little Girl's Mostly Linux Blog

LogTerminalSession

Log terminal session

This page was last updated on July 18, 2009.

  • Log your entire terminal session to a new file named logfile in the current directory:
  • script logfile
  • Log your entire terminal session to an existing file named logfile in the current directory, appending the contents to the existing file:
  • script -a logfile
  • Log your entire terminal session without specifying a file name, which will result in a file named typescript being placed in the current directory:
  • script
  • Quit logging the terminal session and return to the prompt:
  • exit


Obligatory Happy Ending

And they all lived happily ever after. The end.

Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Comment:

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: