06-27-2002
Maingrame to UNIX sending UNIX commands
I want to know if there is a way to send unix commands thru FTP from a mainframe to kick off Autosys Jobs. I just need to send a command from the mainframe to UNIX and have UNIX execute that command.
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
how can I send an email in UNIX, attach a file and cc a receipient?
i use the command below to attach a file (this works):
uuencode path/filename filename | mailx -s "subject" addr@host.com
here is how i cc a receipient (this also works):
i have a file named cc.lis and contains:
Hello... (2 Replies)
Discussion started by: tads98
2 Replies
2. UNIX for Advanced & Expert Users
Hi,
I need to send a mail attachment from the UNIX commandline. I'm using Tru64 and the mail client thats supposed receive the attached file (an excel sheet) is Lotus Notes.
Can anybody help me out? (6 Replies)
Discussion started by: Abhishek Ghose
6 Replies
3. Shell Programming and Scripting
Hi,
My local server is :/usr/abcd/
Remote server is :/Usr/host/test/
I want to send files from local unix directory(All files starting with O_999) to
remote host unix directory.
Can any body give me the Unix Shell script to do this.
One more doubt: Shall we need to change the file... (1 Reply)
Discussion started by: raja_1234
1 Replies
4. UNIX for Dummies Questions & Answers
I am able to run the UNIX commands in a Windows box from a UNIX box through "SSH" functionality. But whenever the SSH connection is established between UNIX and Windows, password for windows box is being asked.
Is there a way to avoid asking password whenever the SSH connection is made? Can I... (1 Reply)
Discussion started by: D.kalpana
1 Replies
5. UNIX for Dummies Questions & Answers
Hi,
I am using mailx command to send mail through Unix. But I am able to send mail only within my domain. If i want to send mail to some other server, it's not working. Like say If I want to send mail to someone on gmail or yahoo it's not working. but it's working fine within my company domain.... (3 Replies)
Discussion started by: anki_1
3 Replies
6. Shell Programming and Scripting
I am using the following syntax to send an e-mail from Unix (Sun OS).
mail -s "hello" abc@yahoo.com
But, when I click enter after typing this command, its not exiting and after a while when I give ctrl+c it creates a dead.letter file in my $HOME dir. Can anyone please tell me, if I have to... (7 Replies)
Discussion started by: rajesh8s
7 Replies
7. UNIX for Dummies Questions & Answers
OS Linux....Just curious as to why this is not working...
uuencode test.txt "test.xls"|mailx -r xxx@server.com -s "validation report" emailrecipient1,emailrecipient2
Please help....Any other options do we need to use?? (3 Replies)
Discussion started by: saggiboy10
3 Replies
8. UNIX for Dummies Questions & Answers
Hello,
I want to send an email from unix. I tried following commands:
mailx -s "hello" manish.xxx@xxx.com < echo_manish
and
echo "Testing Mail" | mailx -s "hello" manish.xxx@xxx.com
but in both the commands nothing is happening. I mean it is neither giving any error nor I am receiving... (7 Replies)
Discussion started by: manishdivs
7 Replies
9. Shell Programming and Scripting
can you tell me what is the syntax if I need to keep someone in cc with the below email.
mailx -s "shell script completed successfully" arun@gmail.com < /dev/null (4 Replies)
Discussion started by: ramkumar15
4 Replies
LEARN ABOUT REDHAT
tk_setappname
Tk_SetAppName(3) Tk Library Procedures Tk_SetAppName(3)
__________________________________________________________________________________________________________________________________________________
NAME
Tk_SetAppName - Set the name of an application for 'send' commands
SYNOPSIS
#include <tk.h>
const char *
Tk_SetAppName(tkwin, name)
ARGUMENTS
Tk_Window tkwin (in) Token for window in application. Used only to select a particular application.
const char *name (in) Name under which to register the application.
_________________________________________________________________
DESCRIPTION
Tk_SetAppName associates a name with a given application and records that association on the display containing with the application's main
window. After this procedure has been invoked, other applications on the display will be able to use the send command to invoke operations
in the application. If name is already in use by some other application on the display, then a new name will be generated by appending "
#2" to name; if this name is also in use, the number will be incremented until an unused name is found. The return value from the proce-
dure is a pointer to the name actually used.
If the application already has a name when Tk_SetAppName is called, then the new name replaces the old name.
Tk_SetAppName also adds a send command to the application's interpreter, which can be used to send commands from this application to others
on any of the displays where the application has windows.
The application's name registration persists until the interpreter is deleted or the send command is deleted from interp, at which point
the name is automatically unregistered and the application becomes inaccessible via send. The application can be made accessible again by
calling Tk_SetAppName.
Tk_SetAppName is called automatically by Tk_Init, so applications do not normally need to call it explicitly.
The command tk appname provides Tcl-level access to the functionality of Tk_SetAppName.
KEYWORDS
application, name, register, send command
Tk 4.0 Tk_SetAppName(3)