04-03-2006
When you people say "will keep the command running" do you mean until completion ? Or does it make it so like an infinitive loop (i.e. the command will run, and after completion, run again and again and again..) ?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
What the folowing statements means and whats the use of it ?
expr $db_name + 2 >/dev/null 2>&1
Thanks. (7 Replies)
Discussion started by: dhananjaysk
7 Replies
2. Shell Programming and Scripting
Hi
Can anybody tell me what is the meaning of the following code?
i=4 j=1 k=0
Specialy meaning of this line
echo $?
Specialy meaning of this line
echo $?
Specialy meaning of this line
echo $?
Thanks in advance
Sas (3 Replies)
Discussion started by: SasDutta
3 Replies
3. Shell Programming and Scripting
ls -ld | grep $1 /etc/passwd | cut -d: -f6
i need see the content... (4 Replies)
Discussion started by: nadman123
4 Replies
4. Shell Programming and Scripting
Hi all,
could you please tell me whats this stands
##*_
0##*/
i knew this alone if some more is there please tell me that also. (3 Replies)
Discussion started by: Arunprasad
3 Replies
5. Shell Programming and Scripting
while getopts :g:l:h: KEY $*
do
case $KEY
in
g) NAME=$OPTARG ;;
l) LAB=$OPTARG ;;
h) HD=$OPTARG ;;
*) echo "Illegal option: $OPTARG"
echo "$usage"
exitStatus=1
exitGrace
esac
done (2 Replies)
Discussion started by: santosh1234
2 Replies
6. Shell Programming and Scripting
Code:
#!/usr/bin/perl -w
use strict;
use warnings;
#Clears Screen
$CLEAR=`clear`;
print $CLEAR;
i get the below error:
Global symbol "$CLEAR" requires explicit package name at ./mutmg.pl line 6.
Global symbol "$CLEAR" requires explicit package name at ./mutmg.pl line 7. (1 Reply)
Discussion started by: sophos
1 Replies
7. Shell Programming and Scripting
Hi ,
iam new with sed command
D:\bfx_db>sed -ne '/^SP2-*:/S/^\<.*\.*\>$/\2\p' reg.sql >>D:\out.log
The filename, directory name, or volume label syntax is incorrect.
Here my source file is reg.sql , i need the output in out.log
Can anybody Help on this???? (4 Replies)
Discussion started by: mhdmehraj
4 Replies
8. Shell Programming and Scripting
if `egrep -c "safe_mode" /usr/local/lib/php.ini` - gt 0 && " `egrep -c "safe_mode" /usr/local/lib/php.ini` = "On" "
then
echo " Good "
exit
else
echo " Not Good ";
fi
and (4 Replies)
Discussion started by: x-zer0
4 Replies
9. Shell Programming and Scripting
Hi,
I would like to ask about the meaning or purpose of set -e in the script bash, Does it mean if a wrong command in the script it will close or exit the script without continuation thats what happen if i set it in the terminal.
Thanks in advance (3 Replies)
Discussion started by: jao_madn
3 Replies
10. Shell Programming and Scripting
Hi All
Can any one please help me to understand the below Perl Code
package Win32::File;
#
# File.pm
# Written by Douglas_Lankshear@ActiveWare.com
#
# subsequent hacks:
# Gurusamy Sarathy
#
$VERSION = '0.06';
require Exporter;
require DynaLoader;
@ISA= qw( Exporter... (1 Reply)
Discussion started by: adisky123
1 Replies
LEARN ABOUT DEBIAN
supervise
supervise(8) System Manager's Manual supervise(8)
NAME
supervise - starts and monitors a service.
SYNOPSIS
supervise s
DESCRIPTION
supervise switches to the directory named s and starts ./run. It restarts ./run if ./run exits. It pauses for a second after starting
./run, so that it does not loop too quickly if ./run exits immediately.
If the file s/down exists, supervise does not start ./run immediately. You can use svc(8) to start ./run and to give other commands to
supervise.
supervise maintains status information in a binary format inside the directory s/supervise, which must be writable to supervise. The sta-
tus information can be read by svstat(8).
supervise may exit immediately after startup if it cannot find the files it needs in s or if another copy of supervise is already running
in s. Once supervise is successfully running, it will not exit unless it is killed or specifically asked to exit. You can use svok(8) to
check whether supervise is successfully running. You can use svscan(8) to reliably start a collection of supervise processes.
SEE ALSO
svc(8), svok(8), svstat(8), svscanboot(8), svscan(8), readproctitle(8), fghack(8), pgrphack(8), multilog(8), tai64n(8), tai64nlocal(8),
setuidgid(8), envuidgid(8), envdir(8), softlimit(8), setlock(8)
http://cr.yp.to/daemontools.html
supervise(8)