10 More Discussions You Might Find Interesting
1. AIX
hi,
i have a problem ,
I'm creating a script that send a mail with telnet .
via command line it's ok,but i create the .sh i have problem .
this a .sh
telnet
open mysmtp 25
HELO
sleep 15
MAIL FROM:<Email>
sleep 15
RCPT TO:<email>
sleep 15
DATA
SUBJECT : PROVA (3 Replies)
Discussion started by: cescofran76
3 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I want to know the difference between these two services. Both are under xinetd. Both are used for enabling and disabling Telnet service. So, can somebody please explain me the difference between the two ?
Thanks in advance :) (0 Replies)
Discussion started by: kashifsd17
0 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I was writing one script which includes to switch to the another telnet automatically from the present telnet server. I was using rlogin but firstly it takes the same user name of the present telnet and secondly it is prompting for the password.
But i want to switch to the another telnet... (2 Replies)
Discussion started by: Prateek
2 Replies
4. UNIX for Dummies Questions & Answers
My distribution details.
# lsb_release -a
LSB Version: :core-3.1-ia32:core-3.1-noarch:graphics-3.1-ia32:graphics-3.1-noarch
Distributor ID: EnterpriseEnterpriseServer
Description: Enterprise Linux Enterprise Linux Server release 5.2 (Carthage)
Release: 5.2
Codename: ... (13 Replies)
Discussion started by: pinga123
13 Replies
5. Shell Programming and Scripting
Hi
I wanna automate the telnet process for port connection..
# telnet 0 port_number
Trying 0.0.0.0...
Connected to 0.
Escape character is '^]'.
If its connected how to make it disconnect automatically..
And how to check for success or failure.. (0 Replies)
Discussion started by: ningy
0 Replies
6. Shell Programming and Scripting
Hi,
I have a file lets say FILE1.
FILE1
------
name,age
charlie,25
harry,29
david,32
Pls help me writing a mailing script.... which will mail the content of file in the body of the mail & it will look something like below in two columns.
name age
charlie 25
harry 29... (1 Reply)
Discussion started by: 46019
1 Replies
7. Shell Programming and Scripting
Hi,
I have a mysql backup script located in crontab. I need to inform system administrator if the backup fail by telnet to smtp to send failure notification. ANyone got clue on how to achieve that?
cheers. (4 Replies)
Discussion started by: bulkbiz
4 Replies
8. Shell Programming and Scripting
Somewhat long story:
I have a simple Perl CGI script that uses Expect to Telnet to a device and grab some data, and then spits it back to Perl for display on the Webpage.
This works for many devices I've tried, but one device just fails, it keeps rejecting the password on this device, only... (1 Reply)
Discussion started by: jondo
1 Replies
9. UNIX for Dummies Questions & Answers
I can do the following steps on my UNIX box interactively, but cannot send an email with a script. Can someone help? I need to send an email or some other notification when a cron job fails.
telnet xx.yy.zz.ww 25
helo
mail from: 123@123.com
rcpt to: my@email.net
data
subject: email test... (1 Reply)
Discussion started by: ejaggers
1 Replies
10. Shell Programming and Scripting
Hi,
I want to automate FTP. I have a fair idea that this can be done using expect scripting. But I dont how to do it. Please, can anyone give me an example of how to do it in Unix.
Thanks in advance (2 Replies)
Discussion started by: sendhilmani123
2 Replies