-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Paul Taylor Sent: Sunday, October 10, 2004 10:40 PM To: [email protected] Subject: Command Question
Anyone know a linux command (or Solaris) that copies console / SSH sessions input/output and stores it in a text file for later retrieval?
Basically, I want to do some linux studies at home then e-mail the text file to my instructor that shows all my input and output.
Tried sending this to kulua-l, and never saw it go out, so here it is again with Paul as well:
You're probably thinking of "script" [/usr/bin/script].
Executing script on the command line with no arguments will create a file named "typescript" in your current directory. You may specify the file as well [ala script /home/d00d/what_i_did]. Once you are finished, a simple "exit" or CTRL+D stops logging.
Hope this helps, Dustin