I&#39;m a big fan of screen here as well.  It has the added benefit of being able to share the session so you can watch/drive as needed.  The output is cleaner than script most of the time as well.<br><br><div class="gmail_quote">
On Fri, May 1, 2009 at 11:52 AM, foo7775 <span dir="ltr">&lt;<a href="mailto:foo7775@comcast.net">foo7775@comcast.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="h5">David L. Willson wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I bet there&#39;s a way to log everything that happens in a terminal session.  Let&#39;s say I want a customer to run 20 or so commands, and return the whole session, what they typed and what they got in return...  Anyone know a good way to do that, off-hand?<br>

<br>
David L. Willson<br>
Trainer, Engineer, Enthusiast<br>
MCT, MCSE, Linux+<br>
tel://720.333.LANS<br>
_______________________________________________<br>
clue-tech mailing list<br>
<a href="mailto:clue-tech@cluedenver.org" target="_blank">clue-tech@cluedenver.org</a><br>
<a href="http://www.cluedenver.org/mailman/listinfo/clue-tech" target="_blank">http://www.cluedenver.org/mailman/listinfo/clue-tech</a><br>
</blockquote>
<br>
<br></div></div>
I seem to recall that the &#39;screen&#39; command can do that. From <a href="http://www.oreillynet.com/linux/cmd/cmd.csp?path=s/screen" target="_blank">http://www.oreillynet.com/linux/cmd/cmd.csp?path=s/screen</a>:<br>
<br>
<br>
Ctrl-a H<br>
<br>
    Begin/end logging of the current window to the file screenlog.n. (log)<br>
<br>
HTH<div><div></div><div class="h5"><br>
_______________________________________________<br>
clue-tech mailing list<br>
<a href="mailto:clue-tech@cluedenver.org" target="_blank">clue-tech@cluedenver.org</a><br>
<a href="http://www.cluedenver.org/mailman/listinfo/clue-tech" target="_blank">http://www.cluedenver.org/mailman/listinfo/clue-tech</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><br><a href="http://www.brainyquote.com/quotes/authors/p/p_j_orourke.html" target="_blank">P. J. O&#39;Rourke</a>  - &quot;Cleanliness becomes more important when godliness is unlikely.&quot;