[svlug] bash command to save cli to a file

Paul Cubbage oldestgeek at gmail.com
Sun Nov 11 10:11:58 PST 2007


You get more than just answers from SVLUG!! Thanks Seth, I'll give it a try!

On Nov 10, 2007 8:40 PM, Seth David Schoen <schoen at loyalty.org> wrote:
>
> Paul Cubbage writes:
>
> > Help please svlug!
> >
> > Burnt out synapses and google gives to many false positives.  I can't
> > remember it but there is a bash command that creates a file in the
> > current directory that captures all CLI and output.  It is closed with
> > CTRL-D
> >
> > It's not anything to do with a log file
>
> The traditional solution is script, but a more modern approach could
> be the use of screen.  Ctrl-A H within a screen session will, by
> default, log the subsequent activity in your current window to a file
> in your home directory.  If you don't use screen, give it a try!  You
> get virtual terminals, the ability to attach and detach terminal
> sessions, copy and paste, terminal history, and more.
>
> If you're interested in getting the _timings_ of your interaction with
> the computer, not just the text, you should try ttyrec.  This is used,
> for example, by public video game servers to allow people to play back
> text-based video game sessions in realtime (or at a particular speed
> multiplier).
>
> --
> Seth David Schoen <schoen at loyalty.org> | Wol dir, werlt, daz du bist
>      http://www.loyalty.org/~schoen/   | also freudenriche!
>      http://vitanuova.loyalty.org/     |           -- Carmina Burana



-- 
Paul Cubbage




More information about the svlug mailing list