Re: Screen capture in Terminal

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



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 
>> commands, 
> 
> 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 
be 0)
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
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux