<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Apr 11, 2014 at 9:03 AM, Sajan Parikh <span dir="ltr"><<a href="mailto:sajan@parikh.io" target="_blank">sajan@parikh.io</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="">On 04/11/2014 09:58 AM, Wes James wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
I tried pkill chrome and pkill -f chrome and it does the same thing as killall chrome.  I have to do it twice to kill all my chromes.  Doing it once kills one of the chromes then I do it again and it kills the rest.<br>
<br>
 wes<br>
</blockquote></div>
If you do pkill -f first, it'll kill everything that matches.  The -f does the string search on the full command line, including arguments.  Without the -f it only does the first X characters or just the command name or something like that.<br>

<br>
If you want to check which PIDs you get back, use pgrep and pgrep -f and compare.  The -f will include the PIDs from pgrep without the -f as well.<span class="HOEnZb"><font color="#888888"><br>
<br>
Sajan Parikh</font></span></blockquote><div><br><br></div><div>I should have said I tried pkill twice (had to do it twice), loaded all the chrome browser windows again and then had to do pkill -f twice - it was the same for both.<br>
<br>wes <br></div></div></div></div>