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

Re: How to display CLI output on another machine

On Tuesday 09 January 2007 01:42, Les Mikesell wrote:
> On Mon, 2007-01-08 at 20:44 +0100, Nigel Henry wrote:
> > > There are any number of solutions, the easiest of which is probably to
> > > mail yourself a copy of the text directly from B, where you can cut
> > > and paste between email messages to get what you want on A.  Note that
> > > you don't need to download email to be able to send it.
> >
> > I admit I'm a bit stuck on this one. I've never used Kmail to post mail
> > from one machine to another without going anywhere near the Internet, but
> > it would be nice to know if it's possible.
> You can do that, but you'll have to set up your own email receiver if
> you don't want to send to an existing server.  Unless you have a
> firewall
> blocking outbound connections, a default install should be able
> to send mail with something like:
> 'mail -s test_message myaddress some_server com < text_file'
> If you want to use kmail, set it up with a local mailbox (that
> won't get anything) and check the 'use local delivery' box - or you
> could put your ISP account there.
> --
>   Les Mikesell
>    lesmikesell gmail com

Thanks for the help Les. I don't know if I want to mess with the email in case 
I screw it all up, and besides that I have more than 14 distros that run on 
machine B, so that setting up the sending of email from machine A to machine 
B  may well be overkill. it's probably best to take the easy option, and use 
the "save history as" option in KDE's Konsole, then ssh into B from A, and 
retrieve the saved history file using Gedit for example. this seems to work 
ok, and not many steps are involved in doing this.

I also tried using screen on machine B.  Typing dmesg in Konsole gives me the 
whole output of dmesg, but typing screen first, to open a screen, then typing 
dmesg only gives me the last 23 lines of dmesg which isn't much use if what 
you are looking for is earlier on in dmesg, and I didn't see anything in 
screens man page to see how to workaround this. Screen -h <num>, where I set 
<num> to 10000 did not make any difference. I still only got the last 23 

Anyway thats for another day.

Thanks for the reply.


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