[Gllug] Shell woes

will will at hellacool.co.uk
Mon Nov 12 11:55:40 UTC 2001


----- Original Message -----
From: "John Edwards" <john_ed at cornerstonelinux.co.uk>
To: <gllug at linux.co.uk>
Sent: Monday, November 12, 2001 11:33 AM
Subject: Re: [Gllug] Shell woes


> On Mon, Nov 12, 2001 at 11:25:16AM -0000, will wrote:
> >
> > Hi All,
> >
> > A freind of mine has the following two scripts:
> >
> > #!/bin/bash
> > ssh user at domain.com
> >
> > #!/bin/bash
> > telnet domain.com
> >
> > and they both work fine when run directly from a terminal, but only the
ssh
> > one will run from in the konquerer file manager.  The ssh one correctly
> > opens a shell and connects to the server, the telnet one does not even
open
> > the shell window.
> >
> > Any ideas?
>
> Try getting the script to open the terminal window first and then run the
> program, eg:
> xterm -e telnet domain.com
>
> alternatively you use konsole or rxvt instead of xterm if you prefer them.

Thanks for that, it worked.  One thing though, why does ssh work and telnet
not in this way?  Any ideas?

Will.


-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list