home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!decwrl!bu.edu!jade.tufts.edu!news.tufts.edu!news.tufts.edu!rdorich
- From: rdorich@jade.tufts.edu (Rob)
- Newsgroups: comp.unix.questions
- Subject: Re: Script for killing mutiple processes?
- Message-ID: <RDORICH.92Jul21152432@jade.tufts.edu>
- Date: 21 Jul 92 19:22:46 GMT
- References: <1992Jul21.135406.10224@ncsu.edu>
- Sender: news@news.tufts.edu (USENET News System)
- Organization: Tufts University - Medford, MA
- Lines: 9
- In-Reply-To: odkahn@eos.ncsu.edu's message of 21 Jul 92 13:54:06 GMT
-
- In order to kill many jobs running on the background, I ususally use
- the following trick:
-
- kill -9 `ps -aux | grep myname | grep filename | awk '{print $2}'`
-
- You can try that, and it should do the trick,
-
- Roberto Dorich
- rdorich@jade.tufts.edu
-