On 5/21/07, Andrew Lentvorski <[EMAIL PROTECTED]> wrote:
Mark Schoonover 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. The command is: script Also, I'm pretty sure that if you run "screen" it has a logfile option. Finally, your xterm, rxvt, gnome-blargel, k-barf, etc. terminal should have a logfile option buried somewhere as well. -a
Thanks Andrew, script it is! -- 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
