10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
friends when I call to a procedure where DBMS_OUTPUT.PUT_LINE bd are having the procedure? (4 Replies)
Discussion started by: tricampeon81
2. Shell Programming and Scripting
Can anyone create or give me a script that I can use to email a user automatically when I kill one of their processes?
Can you give me a script to allow me to email a user (entering email manually) when a process is killed? Like showing what the PID was and a reason the admin killed it? Is... (2 Replies)
Discussion started by: JoeGazz84
3. Shell Programming and Scripting
File1 --> into shell file for processing --> file2
I have finished the work on my shell processing script, but I need to call this from a form -->cgi-bin, have the form wait/process bar while processing occurs (5-10 seconds) and then have the shell exit gracefully while transferring to the new... (1 Reply)
Discussion started by: dba_frog
4. UNIX for Dummies Questions & Answers
Hope all your are doing well. Need a suggestion from you.
I am writing an automated shell script that will effectively check the telnet connectivity with different backends from present deployment server.
Ideally, this script reads each backend hostname from a configuration file and fires... (4 Replies)
Discussion started by: bhaskar_m
Im sure it has something to do with the wait() call, but everything ive tried either leaves me with a zombie or with the exec executing indefinitely.
switch(pid = fork())
case -1:perror("fork failed");
if(key == "cd")
execl("/bin/cd", "cd",... (2 Replies)
Discussion started by: p00ndawg
6. Shell Programming and Scripting
I need to do a test Telnet in KSH and if the connection is good then disconnect the telnet session with out logging in and without exiting the shell script.
Example output of a good connection:
$telnet xxx.xx.xx.xxx xxxx
Connected to xxx.xx.xx.xxx.
Escape... (1 Reply)
Discussion started by: calex
7. Shell Programming and Scripting
When I run the following script I get the following error message whcih I would like to suppress when the kill is issued:
./kill.sh: line 13: 31854 Killed nc -l -p 12345
echo running nc in the background
nc -l -p 12345 &
echo nc pid: $PID
... (1 Reply)
Discussion started by: cmarkle
8. UNIX for Dummies Questions & Answers
ssh user@host -q -n 'grep `hostname` /etc/hosts; telnet 10.100.23.45 1234;'
When i run this command remotely it is hanging and not giving me the prompt, Can anyone tell me how can I exit a telnet command remotely please.
Thanks. (10 Replies)
Discussion started by: venu_nbk
9. UNIX for Dummies Questions & Answers
I run a binary application with GUI accessibility. To launch and close the application i follow the following steps:
1.Log into a console session. Export display to the local workstation.
2.Launch X windows app ( eXceed )
3.From terminal session go to the my application directory and... (2 Replies)
Discussion started by: shantaputi
10. Shell Programming and Scripting
I start my application from a shell command-line.
When I exit my application, it kills the shell that its returning too.
Worse yet, since I have init respawning the shell all those subsequent
shells get killed automatically...so I get output like the following
(the >> is the prompt for... (2 Replies)
Discussion started by: q1001001