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

Re: Howto redirect output from a terminal



On Wed, Jan 29, 2003 at 10:48:04AM -0600, Michael Kahle wrote:
[snip]
> current ssh session?  Is there a program that exists to allow me to
> redirect
> the output of a program running in a terminal to another terminal?
> I hope I
> am explaining this clearly.

Michael -

Take a look at the 'screen' package.

Once you've installed it, the important commands are
Ctrl-A to create a new screen
Ctrl-Space to cycle all available screen
Ctrl-d to detach a session

So here's how you do it:

Start screen
run the command you want to monitor
Ctrl-d to detach.
log off
.
.
log on to the new terminal you want to monitor things from
run 'screen -r'

.. and there you go, looking at what you just started running.

NB Using Ctrl-A to start 2,3,4,5 or more screens is really, _really_
useful! Take a look at it.

-- jc
I'm big and he's clever



Reply to: