[Ilugc] .a-tip-a-day. (kill - get signal list and kill processes)

  • From: mohan.tux@xxxxxxxxx (Mohan Sundaram)
  • Date: Sun Nov 1 10:06:41 2009

On 01/11/2009 09:49, Mohan Sundaram wrote:

On 01/11/2009 08:57, Salvadesswaran P.S. wrote:
$ killall firefox
$ killall opera

To find if the process is running and its process id, use:

$ ps aux | grep<process-pattern>

psof(program_name) does this. Thus we can use kill `psof(firefox)`

Sorry it should be pidof IIRC and not psof.


-- Mohan Sundaram

Other related posts: