Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.Hawaii.Edu!news.uoregon.edu!hunter.premier.net!news-peer.gsl.net!news.gsl.net!news.mathworks.com!uunet!in3.uu.net!news.cybercomm.net!usenet From: "Glen" <gi143@cybercomm.net> Newsgroups: comp.unix.bsd.freebsd.misc Subject: Why does this not work. I get an error can not find for, do, in, while. Date: 6 Oct 1996 15:01:46 GMT Organization: CyberComm Online Services Lines: 24 Message-ID: <01bbb484$da51d760$63c4abc7@glen> NNTP-Posting-Host: sl-003.sl.cybercomm.net X-Newsreader: Microsoft Internet News 4.70.1155 Can someone please tell me why this does not work. I'm useing the korn shell and the C shell. I try to do a man if , for, while nothing there. Is there some package I have to install. Thank for you help for user in $* do echo $user ps -aux $user | cut -c9-14 | grep -v PID| while read i do kill -15 $i echo $i done ps -aux $user | cut -c9-14 | grep -v PID| while read i do kill -9 $i echo $i done done