[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: HowTo?: Log Everything -> file



Bob,

  One way that I know of is:

  telnet localhost | tee session.txt

  Other people that telnet into the machine can then 'tail -f
session.txt' and see exactly what you are doing.  Very good for doing
training sessions.

Hope this helps,

Steve Mayer
smayer@rtd.com

Bob Bernstein wrote:
> 
> Ok, ok, I haven't posted a Linux-For-Dummies question in quite awhile, so here
> goes:
> 
> What's the trick to getting into a file all the contents of a console session,
> i.e. commands, and the output of commands, into a log file for that session?
> 
> I have fooled around with $bash --login > session.txt, but that doesn't grab
> everything that goes by on the screen. I'm sure this is hidden somewhere in my
> dog-eared copy of _Running Linux_, but I'll be ding-danged if I can find it.
> 
> TIA
> 
> -------------------------------------------------
> Bob Bernstein                 bernie@brainiac.com
> at
> Esmond, R.I.       http://www.brainiac.com/bernie
> 
> --
> TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
> debian-user-request@lists.debian.org .
> Trouble?  e-mail to templin@bucknell.edu .


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: