[CentOS] Screen capture in Terminal
markca at codelulz.com
Thu Dec 10 22:03:06 UTC 2009
Robert Moskowitz wrote:
> Mark Caudill wrote:
>> Rick Barnes wrote:
>>> On 12/10/2009 08:05 AM, Robert Moskowitz wrote:
>>>> I don't see how to do it.
>>>> I had to telnet into a firewall and run a trace, and I had to stop it,
>>>> copy and paste to gedit, then start again, etc.
>>>> I find it interesting, and sad, that there is no easy 'output to file'
>>>> profile setting.
>>> man script
>> Hi all. I'm new on this list but I think this might help. If you start
>> screen first, enable logging (default ^a H) then run telnet and your
> This sounds like what I am looking for, where is it documented?
Mainly in man screen. Just do this though (this will work if you have a
stock install and no custom .screenrc):
1) yum install screen # Install screen
2) screen # Start screen
3) Press Ctrl-a then H # This starts logging the current window (should
4) telnet firewall # Log in to your firewall
5) Ctrl-a H again # Run this once you're done on the firewall to
close the log
6) exit # Exits screen
7) less screenlog.0 # View your screenlog.
Never trust a computer you can't throw out a window.
- Steve Wozniak
More information about the CentOS