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

Re: How to display CLI output on another machine



On Sunday 07 January 2007 23:44, Nigel Henry wrote:
> On Sunday 07 January 2007 23:25, Manuel Arostegui Ramirez wrote:
> > El Domingo, 7 de Enero de 2007 23:20, Nigel Henry escribió:
> > > On Sunday 07 January 2007 23:29, Aaron Konstam wrote:
> > > > On Sun, 2007-01-07 at 19:40 +0100, Nigel Henry wrote:
> > > > > On Sunday 07 January 2007 18:24, Manuel Arostegui Ramirez wrote:
> > > > > > El Domingo, 7 de Enero de 2007 18:09, Nigel Henry escribió:
> > > > > > > I can ssh into my other machine ok, and can edit files, etc,
> > > > > > > which is no problem.
> > > > > > >
> > > > > > > What I would like to do is to have access to what is currently
> > > > > > > displayed on the CLI (Konsole) on machine B. As an example. I
> > > > > > > run apt-get update, then apt-get dist-upgrade on machine B,
> > > > > > > which runs to completion. The history is still on the CLI.  I
> > > > > > > now need to post the history from the CLI on machine B to a
> > > > > > > mailing list. The email client (Kmail) is on machine A.
> > > > > > >
> > > > > > > Is there a way to display the history that's on the CLI on
> > > > > > > machine B on machine A, so that I can simply highlight the
> > > > > > > text, then paste it to Kmails composer on machine A?
> > > > > > >
> > > > > > > Both machines are next to one another, but at the moment I have
> > > > > > > to save the CLI history on machine B as a text file, ssh into B
> > > > > > > from A, and use nano to display the text file, before I can
> > > > > > > highlight, and paste the text into Kmails composer.
> > > > > > >
> > > > > > > Nigel.
> > > > > >
> > screen screen screen screen screen, did I write screen? ;-)
>
> OK. Give me a bit of slack here. You quoted as below.
>
> Definetly, run a screen on machine B and work as usual, then ssh from A to
> B and run screen -RD.
> It will work from now on!! :-)
>
> I've only been working with Linux since 2003, and have lots to learn.
>
> What do I need to do to run screen on machine B?
>
> Nigel.

Hi Manuel. Apologies for the "Give me a bit of slack" remark. It was late, and 
I was tired.

Screen works well on machine B, and after ssh'ing into machine B from machine 
A screen -RD displays B's Konsole on A, but Konsole on B is closed for some 
reason. I havn't used screen before, so perhaps this is normal.

Unfortunately screen would not have worked for my original situation. I had 
already run apt-get update, and apt-get dist-upgrade on machine B, and this 
had run to completion of the upgrades. If I had then run screen, followed by 
apt-get update, and apt-get dist-upgrade, the output on Konsole would have 
been different, as the upgrades had already been done.

Thanks all the same for the "screen" suggestion. it would be nice if there was 
a way to open KDE's Konsole in screen mode, rather than having to open 
Konsole, and type screen everytime you use it, just in case there might be 
some output you want to have accessable on the other machine.

Thanks Manuel for your suggestion.

Nigel.
>
> > --
> > Manuel Arostegui Ramirez.
> >
> > Electronic Mail is not secure, may not be read every day, and should not
> > be used for urgent or sensitive issues.


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