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

Re: (script) Re: Rediscovering a forgotten command



David Wright wrote:
Quoting Richard Owlett (rowlett@cloud85.net):
A few months ago I came across a command which would save all
keyboard input to the current console and all output displayed on
that console. That information would be saved to a default file or
to a user specified file. IIRC the documentation implied it had
originally been targeted at classroom environment.

Can anyone identify this?

script, but I find it quite useful to have a bash function defined as

scrip ()
{
     script typescript-${HOSTNAME}-$(date +%Y-%m-%d-%H-%M-%S)-$1
}

so that you get a host/timestamp in the unique filename and a
string to remember why you used it.

Cheers,
David.


Thanks to Peter and David. That is what I was trying to remember.




Reply to: