12-19-2013
Try to get the return code from the telnet command, is it 1?
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
How to send an error mail from a shell script
e.g.
mail destination_adr@blabla.int "Message : here an error message "
thanks, Ann. (1 Reply)
Discussion started by: annelisa
1 Replies
2. Shell Programming and Scripting
Hi,
I need a shell script which runs in the backround for all the 24 hours and send a mail to us regarding the output of the prstat command when the load average increase above certain percent.
kindly help me on this...... (1 Reply)
Discussion started by: jayaramanit
1 Replies
3. Shell Programming and Scripting
Hi ,
I need to prepare a script which will check my database with specific to particluar table. If the row count exceeds a certain limit, i need to send a mail to a set of Recipients.
Being new to unix, please guide me to complete this task.
Advance thanks,
Sekar. (4 Replies)
Discussion started by: Sekar1
4 Replies
4. UNIX for Advanced & Expert Users
i have sun machines having solaris 9 & 10 OS . Now i need to send mail from the machines to my outlook account . I have the ip adress of OUTLOOK mail server. Now what are the setting i need to do in solaris machines so that i can use mailx or sendmail.
actually i am trying to automate the high... (2 Replies)
Discussion started by: amitranjansahu
2 Replies
5. Shell Programming and Scripting
Hi,
I have written one script for sending mails with attachment.
currently its working for only one recipient.
I want to send mails to n number of users by taking user input i.e number of users.
Output of current script:
Enter how many files : 1
Enter First Name : kiran
E-Mail... (2 Replies)
Discussion started by: kiran_j
2 Replies
6. Shell Programming and Scripting
Hi Experts..
i have created a table with the fields,
empid name mailid
1 raja raja@xy.com
and entered the values of all persons who are in that file...
i have a .csv file
date shift1 shift2
6/6/2011 ram raja
Now i want a script that could fetch the data in (input file .csv file) and... (3 Replies)
Discussion started by: cratercrabs
3 Replies
7. Shell Programming and Scripting
I want to send a mail through shell script,If it is possible Please give me a code.
mail id : upload.xxx@example.com (8 Replies)
Discussion started by: kannansoft1985
8 Replies
8. Shell Programming and Scripting
Hi Guys,
I am very new to shell script and I need your help here to write a script. Actually, I have a script abc.sh which don't get terminated itself. So I need to design a script to run this script, save the output to a file, search for a given string in the output and if it exists send those... (11 Replies)
Discussion started by: Sambit Sahu
11 Replies
9. UNIX for Advanced & Expert Users
I am having trouble getting mail to work on a red hat server. At first I was getting this message.
Diagnostic-Code: X-Postfix; delivery temporarily suspended: connect to :25: Connection refused
Then added the port to my firewall. Then I temporarily turned off selinux. I then copied this file... (1 Reply)
Discussion started by: cokedude
1 Replies
LEARN ABOUT DEBIAN
xrlogin
XRLOGIN(1) General Commands Manual XRLOGIN(1)
NAME
xrlogin - start an xterm that uses ssh (or optionally rlogin or telnet) to connect to a remote host
SYNOPSIS
xrlogin [-l username] [-rlogin|-telnet] [xterm options] remote-host
DESCRIPTION
Xrlogin opens an xterm window and runs ssh, rlogin or telnet to login to a remote host.
Xrlogin automatically passes the -name argument to xterm with a value of "xterm-hostname" where hostname is the name of the remote host.
This allows the user to specify resources in their server's resource manager which are specific to xterms from a given host. For example,
this feature can be used to make all xterm windows to a given remote host be the same color or use a specific font or start up in a spe-
cific place on the screen. Xrsh(1) passes the same string so they are compatible in this regard.
Xrlogin specifies that the default title for the new xterm will be "hostname" where hostname is the name of the remote host. This and the
-name argument above can be overridden with xterm-options on the command line.
One could also use xrlogin's sister command xrsh(1) to open a window to a remote host. In the case of xrsh, the xterm would run on the
remote host and use X as the connection protocol while xrlogin would run the xterm on the local host and use rlogin or telnet as the con-
nection protocol. See xrsh(1) for a discussion of the merits of each scheme.
OPTIONS
-l username
When not using -telnet, use username as the id to login to the remote host.
-rlogin
Use the rlogin protocol to open the connection. In general rlogin is preferred because it can be configured to not prompt the user
for a password. Rlogin also automatically propagates window size change signals (SIGWINCH) to the remote host so that applications
running there will learn of a new window size.
-telnet
Use the -telnet protocol to open the connection. Use of telnet provided mostly for hosts that don't support rlogin.
COMMON PROBLEMS
Make sure that the local host is specified in the .rhosts file on the remote host or in the remote hosts /etc/hosts.equiv file. See
rlogin(1) for more information.
EXAMPLES
xrlogin -bg red yoda
Start a local red xterm which connects to the remote host yoda using rlogin.
xrlogin -telnet c70
Open a local xterm which connects to the remote host c70 using telnet.
SEE ALSO
xrsh(1), rlogin(1), telnet(1)
AUTHOR
James J. Dempsey <jjd@jjd.com> and Stephen Gildea <gildea@intouchsys.com>.
X Version 11 Release 6 XRLOGIN(1)