On Mon, Sep 24, 2001 at 01:32:45PM +0800, Malcolm Tredinnick wrote:
> For services started by Red Hat's start up scripts, there is an easier
> way than this. The file /var/run/xinetd.pid will contain the appropriate
> process id. So
> 
>       kill -USR1 $(cat /var/run/xinetd.pid)

Use `head -1' instead of `cat'.  At least one of these files contains
more than just the pid, but the pid is always on the first line.


Cheers,

John
-- 
whois [EMAIL PROTECTED]
GPG key id: 0xD59C360F

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to