Re: kill pidof question
On Sat, Oct 30, 2010 at 03:37:01PM +0000, Camaleón wrote:
> 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`
Thanks, this works. I had not known the use of backward single quotes.
I'll read up on them.
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact email@example.com
> Archive: firstname.lastname@example.org">http://email@example.com