On 5/21/07, Carl Lowenstein <[EMAIL PROTECTED]> wrote:

On 5/21/07, Mark Schoonover <[EMAIL PROTECTED]> wrote:
> Good afternoon,
>
> Is there an automatic way to record all I/O from the command line? I
know
> about tee, and redirection, but that's very awkward. What I want to do
is
> record all commands issued at the shell, and record all output of those
> commands to a file. I'm working on DRBD/HA in a test environment, and
want
> to keep a record of what I'm doing. After I get the test systems up and
> running, I can clean up the file, then refer to that when installing on
> production equipment.

script(1)

DESCRIPTION
     Script makes a typescript of everything printed on your terminal.  It
is
     useful for students who need a hardcopy record of an interactive
session
     as proof of an assignment, as the typescript file can be printed out
     later with lpr(1).

This is close to what you want, I think.

    carl
--
    carl lowenstein         marine physical lab     u.c. san diego
                                                 [EMAIL PROTECTED]




It's not only close, it's right on target! Thanks Carl, exactly what I'm
looking for.


--
Mark Schoonover, CMDBA
[EMAIL PROTECTED]
Cell: 619-368-0099

* software development * systems/database administration * networking *
security *

--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to