From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19758 invoked from network); 2 Sep 2003 19:55:25 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 2 Sep 2003 19:55:25 -0000 Received: (qmail 22512 invoked by alias); 2 Sep 2003 19:55:19 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 19010 Received: (qmail 22479 invoked from network); 2 Sep 2003 19:55:19 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 2 Sep 2003 19:55:19 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [217.174.194.138] by sunsite.dk (MessageWall 1.0.8) with SMTP; 2 Sep 2003 19:55:18 -0000 Received: from DervishD.pleyades.net (212.Red-80-35-44.pooles.rima-tde.net [80.35.44.212]) by madrid10.amenworld.com (8.10.2/8.10.2) with ESMTP id h82JtHV15687; Tue, 2 Sep 2003 21:55:17 +0200 Received: from raul@pleyades.net by DervishD.pleyades.net with local (Exim MTA 2.05) id <19uGjt-00001h-00>; Tue, 2 Sep 2003 21:22:53 +0200 Date: Tue, 2 Sep 2003 21:22:53 +0200 From: DervishD To: Alexey Tourbin Cc: Zsh Subject: Re: Can Zsh do this for me? Message-ID: <20030902192253.GC94@DervishD> Mail-Followup-To: Alexey Tourbin , Zsh References: <20030902120846.GA1636@DervishD> <20030902123838.GA22419@julia.office.altlinux.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20030902123838.GA22419@julia.office.altlinux.ru> User-Agent: Mutt/1.4i Organization: Pleyades User-Agent: Mutt/1.4i Hi Alexey :) * Alexey Tourbin dixit: > > I'm writing a command to kill a process by name, not by PID, just > > like 'pidof' but without using 'pidof' ;))) It's pretty easy using > Do you have killall(1)? That's the point, I don't have those binaries (it's a long story) and I would prefer not to install them if I can avoid it (and seems like I can avoid it...). Moreover, there are *two* killall binaries lurking around in Linux. One of them does what its name suggests, and kills all running processes (well, more or less...). The other one kills a process by name, not by PID. Raúl Núñez de Arenas Coronado -- Linux Registered User 88736 http://www.pleyades.net & http://raul.pleyades.net/