title: How to kill a process with 'kill' combined with 'grep'
body: <p>I'd like to kill a process/script with a simple command using. At the moment I do the following</p>
  
  <pre><code>ps -ef | grep myscriptname
  kill 123456
  </code></pre>
  
  <p>But is there a way to maybe combine the 2 command together so I don't need to look and manually write the pid, something like this <code>kill grep myscriptname</code>?</p>