[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> On Mon, 18 Jun 2001, Virginia Chism wrote:
>
> > Someone told me to try 'killall -SIGHUP qmail', but someone else said this
> > might kill everything running - that the machine would not read to the
> > 'qmail' at the end of the line.
>
> That is not true, killall only kills the specified command with the
> specified signal.
Be careful! killall on some systems (Solaris, notably) sends the signal to
every running process, as the original "someone" warned her. "killall" is
therefore not considered a portable way of doing anything in shell scripts.
Charles
--
-----------------------------------------------------------------------
Charles Cazabon <[EMAIL PROTECTED]>
GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
-----------------------------------------------------------------------