problems with setuid (?)
Alexander Dupuy
dupuy at cs.columbia.edu
Sat Feb 25 08:17:09 AEST 1989
In article <18213 at adm.BRL.MIL> you write:
>I am having a problem (explained below) with killing processes using a
>c-shell script.
>
>kill -9 `ps -ax | fgrep xnsstart | fgrep -v fgrep | cut -c1-5`
>kill -9 `ps -ax | fgrep xnshelper | fgrep -v fgrep | cut -c1-5`
You can also eliminate the extra fgrep with the -c option to ps:
kill -9 `ps -acx | fgrep xnsstart | cut ...`
@alex
--
--
inet: dupuy at cs.columbia.edu
uucp: ...!rutgers!cs.columbia.edu!dupuy
More information about the Comp.unix.wizards
mailing list