Re: kill pidof question

2010-11-26 Thread Wilko Fokken
On Sat, Oct 30, 2010 at 10:27:17AM -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 pos

Re: kill pidof question

2010-10-30 Thread Bob Proulx
Thomas H. George wrote: > Camaleón wrote: > > kill `pidof iceape-bin` > > Thanks, this works. I had not known the use of backward single quotes. > I'll read up on them. Better is the newer $(...) way because $(...)'s can be nested. The backticks are great for single simple commands. But if you

Re: kill pidof question

2010-10-30 Thread Thomas H. George
On Sat, Oct 30, 2010 at 03:37:01PM +, 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

Re: kill pidof question

2010-10-30 Thread Camaleón
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

Re: kill pidof question

2010-10-30 Thread Klistvud
Dne, 30. 10. 2010 16:27:17 je Thomas H. George napisal(a): 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 combin

kill pidof question

2010-10-30 Thread Thomas H. George
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