Re: How to display CLI output on another machine

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

 



On Sun, 2007-01-07 at 18:24 +0100, 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.
> 
> Well, If I didn't misunderstand your scenario, what if you use, for instace >> 
> in order to redirect output of machine B and then copy it to machine A? By 
> scp or whatever.
> That's to say, using your example above: 'apt-get update && apt-get 
> dist-upgrade >> foo.txt'
> 
> Maybe you could use 'screen -RD', which will allow you to see what happened on 
> machine B even if you're not in front of the computer of machine A, or just 
> machine A is not turned on.
> I supposed you to know how screen works, don't you?
> 
> Hope that helps.
Or if you want it on the terminal and in a file you can use the tee
command.
--
=======================================================================
"I've got some amyls. We could either party later or, like, start his
heart." -- "Cheech and Chong's Next Movie"
=======================================================================
Aaron Konstam telephone: (210) 656-0355 e-mail: akonstam@xxxxxxxxxxxxx


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux