9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All Experts,
I have a script which logs to the server via sftp connection with below code :-
and the connection is going smooth.
My requirement is to place file in sftp_server in some path.
and if path doesn't exist or the file is not put successfully I... (3 Replies)
Discussion started by: punitsoneji
Hi. I have a program whose job it is to manage 15 child processes. Sometimes these children die (sometimes deliberately other times with a SEGV). This causes a SIGCHLD to be sent to my program which uses waitpid() in the signal handler to gather information and, in most cases, restart the child.... (3 Replies)
Discussion started by: jrichemont
3. UNIX for Dummies Questions & Answers
I have develop a driver for my hardware and now, I need to handle a IRQ but I does not work.
As I can understand, to handle a irq, it is necessary to make a request_irq(). If the return value is zero, ok, no problem to handle irq.
Here is a easy example of my driver:
#include... (8 Replies)
Discussion started by: webquinty
4. Shell Programming and Scripting
I'm writing a scheduling script which will co-ordinate the launching of scripts.
This script is scheduling based on an input file, and launches the appropriate scripts at the right times.
The only issue I'm having is:
- if a script dies, or even has a syntax error, I want to catch... (1 Reply)
Discussion started by: GoldenEye4ever
5. Shell Programming and Scripting
I'm newby in perl and XML. I can read and parse Xml with XML-Node upper XML::Parser, but how can I create XML tags and pack my individual data in it then send through socket. PLZ lead me :)
Meanwhile what is your opinion about XML Writer library?
Thanks in Advance. (2 Replies)
Discussion started by: Zaxon
I want to catch all signals that my program receives print their name and then execute the default handler.
Can you help me on that?
I've tried the following code:
void (*hnd)(int i);
char signals =
"SIGHUP",... (7 Replies)
Discussion started by: dark_knight
7. UNIX for Dummies Questions & Answers
I am wondering how to catch print jobs to process them before been served to the printer.
I was told that the challenge is to catch raw text that an old legacy application sends to the printer (invoices, quotes, etc) and save them as text files to allow a new application to process them... (5 Replies)
Discussion started by: miguel77mex
8. Shell Programming and Scripting
I need to find a way to keep a running tally of how many times events or actions occur. Say if a user is prompted to make inputs of 1 or 2, I want it to keep track of how many times 1 was entered, and how many times 2 was entered.
Thanks for your help (5 Replies)
Discussion started by: bebop1111116
9. UNIX for Dummies Questions & Answers
hey i have been facing a problem,can you tell me if we can catch ctrl d in unix i have tried and sucessfully catched and disabled ctrl-c and ctrl -z but am not sure if we can do the same for CTRL-D, so got any clue mail on he forum or ...i mean c programming in Unix thats what i am working on (1 Reply)
Discussion started by: toughguy2handle