Simple solution: history | cut -d ' ' -f 5-20 Kfir
On Nov 21, 2007 3:46 PM, Shachar Shemesh <[EMAIL PROTECTED]> wrote: > Hi all, > > I'm looking for a program (I knew it once) that saves to a log file > every command written on a terminal, as well as its results. I need it > so that when I'm instructing a class, I can then give them a log of > everything I did. > > Thanks, > Shachar > > ================================================================= > To unsubscribe, send mail to [EMAIL PROTECTED] with > the word "unsubscribe" in the message body, e.g., run the command > echo unsubscribe | mail [EMAIL PROTECTED] > >