ukhas jean wrote:
> Hi Bill,
>
> the default shell when i login to the linux machine is the korn shell.
> I have tried without the escaping of '/' and ' ' (space) ... it still
> doesnt work ... ofcourse i tried 'chdir /view' but it reports an error.
> (since chdir is not a shell-command).
I us
Hi Bill,
the default shell when i login to the linux machine is the korn shell.
I have tried without the escaping of '/' and ' ' (space) ... it still doesnt
work ... ofcourse i tried 'chdir /view' but it reports an error. (since chdir
is not a shell-command).
I am stuck at this plac
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of ukhas
jean
Sent: 23 February 2007 04:44
To: Active Perl
Subject: Re: regarding Net::Telnet
> Hi Bill et al ...
>
> I have connected successfully to my remote linux machine using
Net::Telnet and am able to execute comm
ukhas jean wrote:
> Hi Bill et al ...
>
> I have connected successfully to my remote linux machine using
> Net::Telnet and am able to execute commands like pwd, ls, who, etc. ...
> but ... there is one command that is troubling me ... the "cd" command ...
> Sorry to say, but, I cant see it ment
Hi Bill et al ...
I have connected successfully to my remote linux machine using Net::Telnet
and am able to execute commands like pwd, ls, who, etc. ... but ... there is
one command that is troubling me ... the "cd" command ...
Sorry to say, but, I cant see it mentioned in documentation
If you cannot ping id01 from the command line then you have resolver
troubles
ukhas jean wrote:
> Hi all ... had a problem executing this script which tries to run a
> "who" command on a unix host id01.
>
> use Net::Telnet;
>
> my $host = "id01";
___
ukhas jean wrote:
> no ... its id01 and not idl01 ... sorry made a typo!!!
The suggestion to try the IP address is also a good idea.
I ran your script to localhost with a telnet daemon running on XP
and it worked fine (I used a different command than who and commented
out the improper Ctrl-C), bu
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of ukhas
jean
Sent: 20 February 2007 08:05
To: Active Perl
Subject: regarding Net::Telnet
> Hi all ... had a problem executing this script which tries to run a
"who" command on a unix host id01.
>
'use strict; u
no ... its id01 and not idl01 ... sorry made a typo!!!
Bill Luebkert <[EMAIL PROTECTED]> wrote: ukhas jean wrote:
> Hi all ... had a problem executing this script which tries to run a
> "who" command on a unix host id01.
>
> use Net::Telnet;
>
> my $host = "id01";
> my $port = "1800";
> my $t
Hi , why don\'t you try this code and see
..$t = new Net::Telnet (Timeout => 1000,
Prompt => );
$username=\"*\";
$password=\"**\";
$t->open(\"id01\");
$t->login($username, $password);regards,sandeep s kumarukhas jean wroteHi
all ... had a problem executing this script which tri
ukhas jean wrote:
> Hi all ... had a problem executing this script which tries to run a
> "who" command on a unix host id01.
>
> use Net::Telnet;
>
> my $host = "id01";
> my $port = "1800";
> my $t = new Net::Telnet (Timeout => 10);
> $t->open(Host => $host, Port => $port);
> $t->login("abc",
Hi all ... had a problem executing this script which tries to run a "who"
command on a unix host id01.
use Net::Telnet;
my $host = "id01";
my $port = "1800";
my $t = new Net::Telnet (Timeout => 10);
$t->open(Host => $host, Port => $port);
$t->login("abc", "123");
my @lines = $t->cmd(
12 matches
Mail list logo