title: Limit grep's output
body: <p>I'm trying to make a server manager, but I need to grab the process IDs and Commands of some processes.</p>
  
  <p>For example:</p>
  
  <pre><code> ps ax | grep ./skulltag
   4760 pts/2    Tl     0:02 ./skulltag-server
   4793 pts/2    Tl     0:01 ./skulltag-server
   4956 pts/2    Tl     0:01 ./skulltag-server -port 13000
   4958 pts/2    Tl     0:26 ./skulltag-server -port 13001
  </code></pre>
  
  <p>How would I get it to only return the process, only return the command (./skulltag-server) or both? Thanks.</p>