Re: capture ipchains -M -L
On Thu, Oct 19, 2000 at 09:38:20AM +0100, Mike.Jones@ons.gov.uk wrote:
> daye149@pacbell.net (Nick) wrote:-
>
> > can anyone suggest how to
> >
> > capture a terminal session (equivalent to print screen button for
> windows)
> > to paste to a text document
> >
> > or capture a screen in GNOME to send via email??
> >
> > thanks list.
> >
> > nick
>
> I don't know of any way to capture a terminal session retrospectively, but
> if you know in advance that you want to capture it you can use 'script'.
> 'man script' for more details.
>
> OTOH, if you just want to capture the output of 'ipchains -M -L' why not
> just redirect it to a file, i.e.
> # ipchains -M -L > ipchains.rules
> Another way is to use ipchains-save, like this:-
> # ipchains-save > ipchains.rules
these are great ideas. (redirect the output to a file.)
or use 'script' to record your interaction in a subshell.
or, if you have gpm (apt-get install gpm) for mousing around on the
console, select with the left button, and then right-click to paste.
usually, tmtowtdi.
for screen-snapshot, i canna help you there.
--
self-reference, n: see self-reference.
will@serensoft.com *** http://www.dontUthink.com/
Reply to: