On 1 Mar 2006, at 12:29GMT, James Ring wrote:
Hi Bruce,
On Wednesday 01 March 2006 22:47, Bruce Badger wrote:
In the days of teletypes you had a hard-copy record of everything
that
happend in a shell session - the paper teletype roll.
Is there a way to get a journal (electronic is fine, no need for the
roll :-)) produced for SSH/Bash sessions?
Maybe tee is what you want?
ssh whatever | tee blah.txt
is there anything wrong with the good old "script" command ?
[EMAIL PROTECTED]
Script started, file is typescript
[EMAIL PROTECTED] there
...
(Ctl-D)
Connection to there closed.
(Ctl-D)
Script done, file is typescript
[EMAIL PROTECTED] typescript
....
....
kind of thing works for me. Well you get the funky control characters
but nothing that sed can't fix.
--
[----------------------------------------------------------------------]
Alex Sayle [EMAIL PROTECTED]
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html