Richard Yang <[EMAIL PROTECTED]> wrote:

> I have been trying to kill the process by pulling natd.pid

Is the rc script, which can be used to stop natd, not working?

> below are 3 typical examples among a couple dozens I tried
> 
> kill -9 $(natd.pid)
> Illegal variable name
> 
> kill -9 '/var/run/natd.pid'
> kill: Arguments should be jobs or process id's
> 
> cat /var/run/natd.pid | kill -9
> (no error returned, but natd process is still up)

In bash, you could:

# kill -9 $(cat /var/run/natd.pid)

-- 
Sahil Tandon <[EMAIL PROTECTED]>
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to