save log unix

There are many ways to save a log of your Unix shell session.

script command

script is a standard Unix command which takes a log file as a parameter, and returns you the shell prompt after you run it. This means than any commands you type after this will be logged into the specified file. When you type exit, your session log will be finalized and all the commands you type from then on will be no longer be logged.

See also:

Share and Enjoy

  • Facebook
  • Twitter
  • Delicious
  • LinkedIn
  • StumbleUpon
  • Add to favorites
  • Email
  • RSS