View Single Post
  #6   (View Single Post)  
Old 5th July 2008
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Banned
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Default

I don't know about zsh, but with ksh I send a ^Z and then get the pid of the background processes like so:

Code:
$ top &         
[1] 7251
$ kill -KILL `echo $!`
kill -KILL `echo $!`
[1] + Killed               top
$
A little ugly bit it works... and according to this, zsh works the same way.
Reply With Quote