05-01-2006
Quote:
Originally Posted by aarora_98
it wonders me that, even after modification... it is not letting me to go inside telnet loop.
(
...
...
...
) | telnet gpsappXXX.corporate....
It is not connecting to gpsappXXX.
Can some bdy suggest me different telnet script?.
Also I have checked the existing path to be correct. I am able to connect to gpsappXX from machine 1 when I go through each and every command manually....... but, not thriugh script????. Where is the problem?.
I have to get some telnet script..... plz help. May be your suggestion helps me . Plz suggest any other sol if possible.
Thnx..
Aru
Any specific errors..
I am able to do on my servers what you are tryin to do...
10 More Discussions You Might Find Interesting
1. IP Networking
Dumb question I'm sure but how on earth do I transfer files from a sco unix machine to my windows 2000 machine. I'm typing commands on my Win2000 machine. All I can seem to do is move files around on the unix system? (8 Replies)
Discussion started by: Timbash
8 Replies
2. Linux
hi ,
i have jsut installed linux 9.0 , but i can not ftp or telnet to the system .
i have installed the ftp and the telnet server during installation .
i have also configured the files to enable the ftp and telnet , the ftp and the telnet daemons are running , but when i do ftp :
ftp... (1 Reply)
Discussion started by: ppass
1 Replies
3. UNIX for Dummies Questions & Answers
Hi guys,
Here is my requirement for ftp script that i have to automate in unix using shell script:
1) Find the files that atre created one week from the present day.
2) ftp them to the backup server.
3) At the end of the month make a new directory on my backup server with the new month(eg:Once... (1 Reply)
Discussion started by: koduri0475
1 Replies
4. UNIX Desktop Questions & Answers
Hi guys,
Here is my requirement for ftp script that i have to automate in unix using shell script:
1) Find the files that atre created one week from the present day.
2) ftp them to the backup server.
3) At the end of the month make a new directory on my backup server with the new month(eg:Once... (1 Reply)
Discussion started by: koduri0475
1 Replies
5. Filesystems, Disks and Memory
Hi guys,
Here is my requirement for ftp script that i have to automate in unix using shell script:
1) Find the files that atre created one week from the present day.
2) ftp them to the backup server.
3) At the end of the month make a new directory on my backup server with the new month(eg:Once... (1 Reply)
Discussion started by: koduri0475
1 Replies
6. UNIX for Advanced & Expert Users
Hi guys,
Here is my requirement for ftp script that i have to automate in unix using shell script:
1) Find the files that atre created one week from the present day.
2) ftp them to the backup server.
3) At the end of the month make a new directory on my backup server with the new month(eg:Once... (1 Reply)
Discussion started by: koduri0475
1 Replies
7. UNIX for Advanced & Expert Users
Hi everyone,
The script actually does the ftp and gets the file to the local system.
I want to do some manipulations for that file , But after doing ftp , script is not proceding and just a prompt is displayed .
....
ftp code here......
....................
...............
echo "FTP... (4 Replies)
Discussion started by: kaaakrishna
4 Replies
8. Shell Programming and Scripting
Hi,
Whenever i am trying to telnet to server i am getting frequent error
Authorized Login: prtsrc's Password:
/dev/pts/171: Password read timed out -- possible noise on port
when i am rerunning the same it is working fine
thanks,
sam (2 Replies)
Discussion started by: sam99
2 Replies
9. Shell Programming and Scripting
hi all,
I want to telnet to a port. aand then run a command called 'show threads' once i'm connected to the telnet prompt. then the respond of this 'show threads' i want to store it in a file on a local system. can someone please help me out here?
this needs to be scripted, shell script. ... (1 Reply)
Discussion started by: SkySmart
1 Replies
10. Shell Programming and Scripting
I am trying to write a shell script which takes an input file as an arguement in the terminal e.g. bash shellscriptname.sh input.txt. I would like for the file to be read line by line each time checking if the .txt file contains certain words or letters(validating the syntax). If the line being... (1 Reply)
Discussion started by: Gurdza32
1 Replies
LEARN ABOUT MOJAVE
regexp::common::uri::telnet5.18
Regexp::Common::URI::telnet(3) User Contributed Perl Documentation Regexp::Common::URI::telnet(3)
NAME
Regexp::Common::URI::telnet -- Returns a pattern for telnet URIs.
SYNOPSIS
use Regexp::Common qw /URI/;
while (<>) {
/$RE{URI}{telnet}/ and print "Contains a telnet URI.
";
}
DESCRIPTION
$RE{URI}{telnet}
Returns a pattern that matches telnet URIs, as defined by RFC 1738. Telnet URIs have the form:
"telnet:" "//" [ user [ ":" password ] "@" ] host [ ":" port ] [ "/" ]
Under "{-keep}", the following are returned:
$1 The complete URI.
$2 The scheme.
$3 The username:password combo, or just the username if there is no password.
$4 The username, if given.
$5 The password, if given.
$6 The host:port combo, or just the host if there's no port.
$7 The host.
$8 The port, if given.
$9 The trailing slash, if any.
REFERENCES
[RFC 1738]
Berners-Lee, Tim, Masinter, L., McCahill, M.: Uniform Resource Locators (URL). December 1994.
SEE ALSO
Regexp::Common::URI for other supported URIs.
AUTHOR
Damian Conway (damian@conway.org)
MAINTAINANCE
This package is maintained by Abigail (regexp-common@abigail.be).
BUGS AND IRRITATIONS
Bound to be plenty.
LICENSE and COPYRIGHT
This software is Copyright (c) 2001 - 2009, Damian Conway and Abigail.
This module is free software, and maybe used under any of the following licenses:
1) The Perl Artistic License. See the file COPYRIGHT.AL.
2) The Perl Artistic License 2.0. See the file COPYRIGHT.AL2.
3) The BSD Licence. See the file COPYRIGHT.BSD.
4) The MIT Licence. See the file COPYRIGHT.MIT.
perl v5.18.2 2013-03-08 Regexp::Common::URI::telnet(3)