Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I start putty from a linux terminal.When it starts/invoked i set the serial line and the speed option. I want to capture what ever that is shown on the putty to a file after doing the above.How to do this by using a command during invoking the putty from the terminal.

share|improve this question

migrated from Feb 10 '12 at 12:56

This question came from our site for professional and enthusiast programmers.

Not sure if this is exactly what you're after, but check the "script" command in linux. It might do the job - works fine with native ssh.

share|improve this answer

Putty has a -log option, that works for me.

putty -log logfile
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.