[EMAIL PROTECTED]:~> top & [1] 72002 [EMAIL PROTECTED]:~> echo 72002 > test [1] + Suspended (tty output) top [EMAIL PROTECTED]:~> kill -9 `cat ./test` [1] Killed top
try tcsh =) On Sun, Sep 14, 2008 at 10:28 AM, Richard Yang <[EMAIL PROTECTED]>wrote: > i just found i am on csh > thanks a lot anyway :) > > 2008/9/14 Yury Michurin <[EMAIL PROTECTED]> > > Try: >> kill -9 `cat /var/run/natd.pid` >> >> (works for me on tcsh) >> >> On Sun, Sep 14, 2008 at 9:33 AM, Richard Yang <[EMAIL PROTECTED]>wrote: >> >>> I have been trying to kill the process by pulling natd.pid >>> 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) >>> >>> >>> could someone help? >>> thanks. >>> >>> >>> -- >>> >>> Best Regards >>> >>> Richard Yang >>> [EMAIL PROTECTED] >>> [EMAIL PROTECTED] >>> _______________________________________________ >>> freebsd-questions@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>> To unsubscribe, send any mail to " >>> [EMAIL PROTECTED]" >>> >> >> > > > -- > > Best Regards > > Richard Yang > [EMAIL PROTECTED] > [EMAIL PROTECTED] > _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"