Does kill command kill processes specific to a path in linux
<p>I have seen many discussions here on kill command. But my confusion is different. I have many processes with the same name and I have to automate the killing. Hence I can't use the pid. So is it possible that if I go to a specific path and use <code>kill &lt;pname&gt;</code> then only the process related to that path will get killed?<br>
Or is there some way to incorporate the path name in kill command?</p>