10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
Can anyone help me how to exit a shell script if a unix command inside does not return any value for 10 seconds?
The scenarios is like this.
I want to login to a application using shell script where the connection string is mentioned.but suppose this connection string is not... (10 Replies)
Discussion started by: arijitsaha
10 Replies
2. Shell Programming and Scripting
hi, everyone.
My want to execute the shell script below per 10 seconds
PID=`pgrep java`
if
then
/home/java/java
fi
crontab wouldn't help me.
some one can give me suggestions?thanks
---------- Post updated at 07:29 AM ---------- Previous update was at 07:26 AM ----------
... (6 Replies)
Discussion started by: AKB48
6 Replies
3. Shell Programming and Scripting
I want to create a script that displays a dialog box every interval of time and exits that loop when a user presses ENTER
Any idies? (4 Replies)
Discussion started by: amitlib
4 Replies
4. Shell Programming and Scripting
Hi,
What i am looking for and i am new to this too, is a bash script that will add time in the format hh:mm:ss and produce the answer in minutes or seconds. It needs to be a loop since there are hundreds of times in my file. This is data is from a CDR that calculates duration of time used. ... (2 Replies)
Discussion started by: trotella
2 Replies
5. Shell Programming and Scripting
Hello friends,
Kindly help me in developing a script that asks user to enter a value and will wait for 5 seconds for the feedback. If there is no answer from the user the script will perform exit or it will continue doing something else
Ex: If yu have a multi OS system i believe while... (3 Replies)
Discussion started by: frozensmilz
3 Replies
6. Shell Programming and Scripting
Hi guys,
I am working with a script within a Mac OS X package installer. The package installer will run the bash script once the files have been copied/installed. I have a little trouble with the last line of my script causing the package installer to crash once in a while and I have narrowed it... (1 Reply)
Discussion started by: tret
1 Replies
7. Shell Programming and Scripting
Greetings, I just started using scripting languages,
im trying to get a tcpdump in a file, change the
file name every 5mins ... this is what i have but its
not working ... any suggestions?
#!/bin/bash
# timeout.sh
#timestamp format
TIMESTAMP=`date -u "+%Y%m%dT%H%M%S"`
#tdump =`tcpdump... (3 Replies)
Discussion started by: livewire
3 Replies
8. Shell Programming and Scripting
hi
how can i wait for 5 seconds inside my shell script? 'wait 5' command doesnot seem to be working? (2 Replies)
Discussion started by: gopsman
2 Replies
9. Shell Programming and Scripting
Hello
i have script that show me stuff , i need to excute this script every N seconds , is there any way to do it with one liner ? ( mybe perl )
thanks (7 Replies)
Discussion started by: umen
7 Replies
10. UNIX for Dummies Questions & Answers
Thanks for checking in.
We have this script that does a backup called Ignite on HP-UX
in this script it does everything it supposed to do accept one thing
Script
#########################################
echo
clear
cd /
echo " Please ensure there is a DLT tape in Slot 6 of the Tape... (2 Replies)
Discussion started by: nemex
2 Replies