[Gllug] how to kill

Jason Clifford jason at ukpost.com
Wed Mar 16 12:28:37 UTC 2005


On Wed, 16 Mar 2005, mimo wrote:

> I guess everybody knows this bash thing where you can press CTRL Z and 
> the current process goes to sleep (which is sometimes the only way to 
> get out of some stuck thing). Later on you can list your sleeping 
> processes with jobs command. Odd thing I always found is that they are 
> numbered 1,2,3,.. Now obviously, doing kill 1 is not a good idea, esp. 
> when you are root. Nevertheless, kill -- just invoked like this -- says 
> pid or jobid. But doesnt say how you specify the jobid. Tried [1] -- 
> didnt work. Anyone?

The jobs command will allow you to send a SIGKILL to the job as well.

You need to see the man page for your shell to determine the right usage.

Jason Clifford
-- 
UKFSN.ORG		Finance Free Software while you surf the 'net
http://www.ukfsn.org/	   ADSL Broadband from just £21.50 / month 

-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list