Operating System - HP-UX
1837314 Members
2642 Online
110116 Solutions
New Discussion

How to keep all executed from a terminal

 
SOLVED
Go to solution
Manuales
Super Advisor

How to keep all executed from a terminal

Hi .. how can i keep all commands and output executed from a telnet terminal?

i remember is script command but i do not how use it ... please helpl

Thanks.
4 REPLIES 4
Pete Randall
Outstanding Contributor
Solution

Re: How to keep all executed from a terminal

Just enter the command "script". It, by default, records everything entered into a file called typescript that you can review later. To end recording, simply enter "exit".


Pete

Pete
Manuales
Super Advisor

Re: How to keep all executed from a terminal

Where is configured that name?
James R. Ferguson
Acclaimed Contributor

Re: How to keep all executed from a terminal

Hi Manuales:

# man script

Regards!

...JRF...
Pete Randall
Outstanding Contributor

Re: How to keep all executed from a terminal

You can name the file when you invoke the script command:

script [-a] [file]

where [file] defaults to typescript.


Pete

Pete