Operating System - HP-UX
1838679 Members
3706 Online
110128 Solutions
New Discussion

Re: logging input and output on an shell

 
SOLVED
Go to solution
phil atkinson
Advisor

logging input and output on an shell

What is the UNIX command that puts all the text commands entered and all the responses from the system in a file thus allowing simple monitoring of a text terminal session.
4 REPLIES 4
Tom Geudens
Honored Contributor
Solution

Re: logging input and output on an shell

Hi,
The command you are looking for is is "script" ... I believe. Check out the manpage.

Regards,
Tom

A life ? Cool ! Where can I download one of those from ?
T G Manikandan
Honored Contributor

Re: logging input and output on an shell

Tom is right
#script


Thanks
John Meissner
Esteemed Contributor

Re: logging input and output on an shell

yes - to log input and output type:
script
when you don't want to capture this anymore hit d (control key + d) to stop logging

All paths lead to destiny
phil atkinson
Advisor

Re: logging input and output on an shell

Thank you for all your help. I had used the command before but could not remember the name(thats getting older!)