title: Linux - Kill process by path
body: <p>How can I kill a process by its executable's absolute file path? Hence, I want to kill all processes that were created from an executable at a given location?</p>
  
  <p><strong>ANSWER:</strong></p>
  
  <pre><code>kill $(ps aux | grep '&lt;absolute executable path&gt;' | awk '{print $2}')
  </code></pre>