04-12-2012
It runs it in the background. The script will keep running, but won't wait for that particular program to finish before doing so.
It won't wait for it to connect, either.
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi all,
My tiny mind is struggling with the following script that shuts down Tomcat on Sol. 8 and kills any defunct processes Tomcat might leave behind (as it so often does). I realize that fixing Tomcat would be best, but this is a band-aid so I won't have to do as much off-hours support of... (3 Replies)
Discussion started by: dkaplowitz
3 Replies
2. UNIX for Dummies Questions & Answers
Lets say a user starts a process (either a shell script or a Perl script) and before that process finishes, he logs out (either intentionaly or network problems or ...), does the process continu running ?
Default shell is Korn.
This is because at my job (being trained), there are tasks to run... (2 Replies)
Discussion started by: Browser_ice
2 Replies
3. Shell Programming and Scripting
Hi..
I have a perl program that uses "system" to execute a shell script called startengine. The script "startengine" itself calls a lot of other smaller scripts to setup the engine etc. It finally has to execute ./engine which is another shell script which is long and takes a long time to... (3 Replies)
Discussion started by: JLJ
3 Replies
4. Shell Programming and Scripting
Hello, I need advice on how to check if started processes are finished in perl, here's explanation :
OS is RHEL 4, perl -v = "This is perl, v5.8.0 built for i386-linux-thread-multi"
The logic of the script :
#!/usr/bin/perl
use warnings;
$param1 = $ARGV;
$param2 = $ARGV;
$param3 =... (2 Replies)
Discussion started by: sysgate
2 Replies
5. UNIX for Dummies Questions & Answers
Hello All,
Good day! This is my first UNIX post. :D
Anyways, I would like to seek help from you guys if you know of any UNIX command that will skip a warning message once it is encountered but continue to run the execution.
Ok here's the situation in general:
An encypted file is sent to... (2 Replies)
Discussion started by: jennah_rekka
2 Replies
6. Shell Programming and Scripting
Hello,
I have a very long instruction to write, but, for lisibility reasons, I would like to cut it on more than one line and comment each lines.
is it possible ?
thanks :b: (1 Reply)
Discussion started by: shadok
1 Replies
7. Shell Programming and Scripting
Hi all.
I have a script like this
function check_filesize {
filesize_1="$(ls -la "$1"|awk '{ print $5 }')"
sleep 123
filesize_2="$(ls -la "$1"|awk '{ print $5 }')"
if
then
echo "OK"
else
echo "NOT OK"
sleep 1234
check_filesize $1
fi
}
function check_TR {
chk="$(tail -1 $1|grep... (5 Replies)
Discussion started by: aimy
5 Replies
8. Programming
def gob(url):
print "\n\t Running gobuster on target."
params = " -e -s '307,200,204,301,302' -t 20 -u " + url + " >> /tmp/%s/gobuster.txt" % (ip)
os.system("xterm -e bash -c "tail -f /tmp/%/gobuster.txt"")
for i in bflist:
dirbf = "gobuster -w " + i... (3 Replies)
Discussion started by: alvinoo
3 Replies
9. UNIX for Beginners Questions & Answers
Hi,
I am writing a shell script where I am sourcing other shell script in that script I have mention exit 0 due to that it is not continue the first script. Except doing any changes to source script is there any way I can continue the my first script. (3 Replies)
Discussion started by: sonujatav
3 Replies
LEARN ABOUT REDHAT
vboxputty
VBOXPUTTY(8) System Manager's Manual VBOXPUTTY(8)
NAME
vboxputty - a self-dialing/-calling vboxgetty
SYNOPSIS
vboxputty -d device [-f config-file] [-c phonenumber] [-s ring-timeout] [-w wait] [-t redial] [-r redial-pause]
vboxputty [-hv]
DESCRIPTION
vboxputty is a vboxgetty, not waiting for, but triggering a call. After connect, vboxputty is acting exactly like vboxgetty. vboxputty
exits with 0 if a connection was established, 99 on BUSY.
OPTIONS
-h display a short help
-v display the version information
-f config-file
use config-file instead of the default vboxgetty.conf
-d device
use device (/dev/ttyI*) for dialout
-c phonenumber
the phonenumber to be called
-s ring-timeout
vboxputty will dial the phonenumber and wait ring-timeout seconds for the called party to accept the call, if ring-timeout seconds
are ellapsed before connect, vboxputty will hangup.
-w wait
after the connection is established, vboxputty will wait wait seconds before starting the tcl-script
-t redial
if the called party is BUSY, vboxputty will try redial times to get a connect
-r redial-pause
vboxputty waits redial-pause seconds between BUSY-redials
FILES
/usr/local/vbox/etc/vboxgetty.conf
AUTHOR
Gerrit Pape <pape@innominate.de>
SEE ALSO
the vbox-documentation
4th Berkeley Distribution 13. January 2000 VBOXPUTTY(8)