[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: kill pidof question



On Sat, 30 Oct 2010 10:27:17 -0400, Thomas H. George wrote:

> I frequently have to kill iceape - it locks up on some images.
> 
> Of course the command pidof iceape-bin will return the pid to standard
> output and I can then use this information to kill the program.
> Certainly it must be possible to combine these steps into a single
> command line but my efforts to do so have all failed.  Would some pro at
> scripting please set me straight?

kill `pidof iceape-bin`

Greetings,

-- 
Camaleón


Reply to: